SquareBoat interview question

3 Rounds including the assignment