Microsoft interview question

make a pull request of the mentioned task