Intuit interview question

Leetcode medium to hard questions