Microsoft Interview Question

4 rounds if interviews, all algorithms questions