Microsoft interview question

Both technical and behavioral