Solved LeetCode program · 19 of 1,000
#0019 · Remove Nth Node From End of List
Original English source
The values is a list of 1, 2, 3, 4, and 5. The last is the last position of values. The position is last plus 1 minus 2. Remove item position of values. For each value in values, display value.
Expected stdout
1 2 3 5