Intuit interview question

Leetcode easy to medium questions