Practice to solve the problems from oj.leetcode.com