Back to Question

Remove Nth Node From End of List

Question Explain

Given the head of a linked list, remove the $n$-th node from the end of the list and return its head. Use the two-pointer technique.

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.