Microsoft interview question

Leetcode mediums and two rounds