Tide Interview Question

First Round was based on the Code Reviews