Back to Browse

Delete kth Node from Linked List: Iterative | Java

1.1K views
May 1, 2017
17:15

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)

Download

1 formats

Video Formats

360pmp452.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Delete kth Node from Linked List: Iterative | Java | NatokHD