Delete Nth Node From Last In Linked List

  Рет қаралды 1,723

CppNuts

CppNuts

Күн бұрын

Пікірлер: 2
@alexandresendra
@alexandresendra Жыл бұрын
Not sure I get it. If we have A->B->C->D And I want to delete 2nd form the end, that's C. That means with your algorithm, fast will go forward 2 times, that means from A to C. But than fast is not null so you return head->next. I don't understand
@saj-qh6qk
@saj-qh6qk 8 ай бұрын
Amazing explanation.
Merge Two Sorted Linked List
8:01
CppNuts
Рет қаралды 3,8 М.
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 57 МЛН
LinkedList 7 removeLast()
11:58
RobEdwards
Рет қаралды 11 М.
Delete Node in a Linked List | EP 3
13:13
Fraz
Рет қаралды 46 М.
Remove Nth Node From End of List | 1 Pass | 2 Pass | Leetcode 19
21:30
codestorywithMIK
Рет қаралды 4,9 М.
Beginners Should Think Differently When Writing Golang
11:35
Anthony GG
Рет қаралды 123 М.
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
you will never ask about pointers again after watching this video
8:03
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 57 МЛН