Solutions to questions posted on oj.leetcode.com