EY Interview Question

Puzzles - you can use Geeksforgeeks to learn them