Microsoft interview question

Standard leetcode style DSA question