Microsoft Interview Question

1 Leet code Hard, 1 Medium, and 2 Easy.