Microsoft interview question

My experience