Remove Nth Node from The End | Java| Linked List| Leetcode #19

Published: 01 January 1970
on channel: Coding Env
126
3

Given the head of a linked list, remove the nth node from the end of the list and return its head.
Example 1:
Input: head = [1,2,3,4,5], n = 2
Output: [1,2,3,5]
Example 2:

Input: head = [1], n = 1
Output: []
Example 3:

Input: head = [1,2], n = 1
Output: [1]




#linkedlists
#datastructures
#interview


On this page of the site you can watch the video online Remove Nth Node from The End | Java| Linked List| Leetcode #19 with a duration of hours minute second in good quality, which was uploaded by the user Coding Env 01 January 1970, share the link with friends and acquaintances, this video has already been watched 126 times on youtube and it was liked by 3 viewers. Enjoy your viewing!