Solutions to LeetCode Oj problems