Microsoft Interview Question

Coding, case study