WoodGhost

渡頭余落日 墟里上孤煙

Technical discuss & Poems & Offshore Fantasy


收藏整理归纳的清凉小角落...Welcome to this world :)

Starting the Journey with LeetCode & CC150

打算记录漫漫刷题打怪路 在此立个flag 以下是代码段,检验样式用

process.stdin.resume();
process.stdin.setEncoding('ascii');

var input_stdin = "";
var input_stdin_array = "";
var input_currentline = 0;

process.stdin.on('data', function (data) {
    input_stdin += data;
});

process.stdin.on('end', function () {
    input_stdin_array = input_stdin.split("\n");
    main();
});

// Reads complete line from STDIN
function readLine() {
    return input_stdin_array[input_currentline++];
}
Latest Post

第一篇Leetcode学习笔记

First of all, 看了最最基本的leetcode 371 和 001都是两个数求和这种,诚然,可以直接return a + b, 但是大部分公司显然不会满足这种答案。所以借此机会认真复习了bit manipulation,two’s complement等二进制位运算方面的知识。编码尽量采用c++, javascript, pythontwo’s complement补码About binary还有关于2进制,位运算什么的Two’s complement is the way e...…

algorithmMore...
Earlier Post

Hello World - Vno

What’s thisVno Jekyll is a theme for Jekyll. It is a port of my Ghost theme vno, which is originally developed from Dale Anthony’s Uno.Usage$ git clone https://github.com/onevcat/vno-jekyll.git your_site$ cd your_site$ bundler install$ bundler exe...…

sampleMore...