Fix a maze program to find the longest consecutive-increase path
Filed under Drishti-Soft Solutions
The question
A buggy program had to be corrected: in a square grid of rooms with numbers, a person may move up, down, left or right only to a room whose number is exactly one larger; find the person who can move the most times (ties go to the smallest starting number).
No write-up yet. Related questions below have one.
Related Drishti-Soft Solutions questions
Collected from public candidate posts and coding forums. Updated Nov 2026.