Microsoft interview question

Brain teaser