Microsoft Interview Question

Two Leetcode easies and one Medium