Leetcode - Remove Linked List Elements (Python)

preview_player
Показать описание
July 2020 Leetcode Challenge
Leetcode - Remove Linked List Elements
Рекомендации по теме
Комментарии
Автор

last line though "don't trust me I know nothing" by the way, thank you, sir, for this video, it was very helpful.

asthachauhan
Автор

Hi Timothy,

From a high level I am confused on how adjusting the value of prev in `prev.next = cur.next` changes our dummy values also. Any resources you suggest for linked lists? Thanks!

jonathandimuccio
Автор

these videos are so helpful! please keep making them :)
what does the dummy variable do? It never gets updated so how is it returning the updated list?

rachcastellino
welcome to shbcf.ru