GeeksforGeeks puzzles: 100 prisoners hats, divide a square, hourglasses
Filed under Testbook
The question
Asked three known puzzles (prisoners with red/black hats, dividing a square into five parts with four equal, hourglass puzzle); the interviewer noticed the candidate had prepared and switched to a different puzzle.
No write-up yet. Related questions below have one.
Related Testbook questions
Collected from public candidate posts and coding forums. Updated Nov 2026.