Microsoft interview question

- to solve a non-coding, logical thinking problem