leetcode: 8 more problems