Some solutions on oj.leetcode.com