Microsoft Interview Question

Normal software engineering style, multiple rounds.