konjac's solutions to http://oj.leetcode.com/