Interra Systems Interview Question

Puzzles from GeeksForGeeks