Microsoft interview question

Questions were assessing problem solving skills