solve several questions on leetcode