Update Linked List Node Values with N-Kth Sum
Filed under Josh Technology
The question
Given a linked list, update the value of each node to be the sum of the node itself and the value of the (n-k)th node.
No write-up yet. Related questions below have one.
Related Josh Technology questions
Collected from public candidate posts and coding forums. Updated Nov 2026.