Leetcode - Remove Nth Node From End of List (Python)

preview_player
Показать описание
April 2021 Leetcode Challenge
Leetcode - Remove Nth Node From End of List #19
Difficulty: Medium
Рекомендации по теме
Комментарии
Автор

Enjoy your vacation Tim, and as always, thank you for your thorough explanation!

Автор

can anyone explain how to run this code outside of leetcode? ive tried everything

Daniel-kpzn
Автор

What if input is ([1], 1)? The pointer slow never get into the actual list, so dummy.next will return [1] instead of []. Could anyone help to justify this? Thanks.

chendong
Автор

Enjoy Hawaii man! Looks so serene there!

janmichaelaustria
Автор

Glad you were able to go to a wonderful retreat!

VladBurlutsky
Автор

can u explain by input as 1 2 3 4 5 as why slow.next=slow.next.next

templesblog