Random problems from leetcode