Reverse linked list and leaf nodes count
Filed under Impetus
The question
Write code to reverse a linked list and count the number of leaf nodes in a binary tree.
No write-up yet. Related questions below have one.
Related Impetus questions
Collected from public candidate posts and coding forums. Updated Nov 2026.