Microsoft interview question

an unknown design question