Moody's Interview Question

3 Leetcode easy/medium questions. 3 Multiple choice