Solutions for LeetCode OJ problems