Reverse alternate k nodes and simplify Unix directory path
Filed under Druva
The question
Reverse alternate k nodes in a singly linked list and write a function to simplify a given Unix directory path string.
No write-up yet. Related questions below have one.
Related Druva questions
Collected from public candidate posts and coding forums. Updated Nov 2026.