filmov
tv
Delete kth Node from Linked List: Iterative | Java

Показать описание
NOTE: At 10:55, 'if (k == 0) {...} ' should be 'if (prev == p) {...} '. Apologies for the error!
In this one, we cover how to delete the kth node from a linked list using an iterative approach. Code in Java!
Checkpoints:
0:15 -- Concept Review (explaining the problem)
3:00 -- Implementation (the code & reasoning behind it)
12:20 -- Try it out on an example! (testing out our code)
In this one, we cover how to delete the kth node from a linked list using an iterative approach. Code in Java!
Checkpoints:
0:15 -- Concept Review (explaining the problem)
3:00 -- Implementation (the code & reasoning behind it)
12:20 -- Try it out on an example! (testing out our code)