Solutions of problems on leetcode