Microsoft interview question

Normal software engineering style, multiple rounds.