did some leetcode easy questions.