Microsoft interview question

To solve a coding problem