Solutions for problems in Leetcode online judge