← DSA practice

Remove Nth Node From End of List

MediumLinked List

The problem

Remove the nth node from the end of a linked list in one pass.

Full statement, examples and constraints: see the original problem link below.

Solve it on LeetCode