Doctor Alliance Interview Question

Coding and Logical Question