Fix a bug in reverse linked list in groups of k
Filed under Drishti-Soft Solutions
The question
A program that reverses a linked list in groups of k gave a runtime error; the task was to find the bug, noting that the insert function was building the list in reverse order.
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.