Microsoft Interview Question

To solve a coding problem