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

preview_player
Показать описание
Leetcode Blind Curated 75
Leetcode - Remove Nth Node From End of List

Solving and explaining the essential 75 Leetcode Questions
Рекомендации по теме
Комментарии
Автор

Awesome vid, you explained that concept in a very digestible way, subbed!

JZHawaiiHiking
Автор

Hi! I am pretty much new to all this OOP, so my question might seem dumb to many, but when you state the two pointers first = second = head; what value do they get, and what value does head give them? I know the class Solution's method states: head: Optional [ListNode] but what exactly does it mean? Thanks Tim and all :)

ritamunozgutierrez
Автор

Hi Timothy! I'm currently going over your Blind 75 playlist to prep for some technical interviews. You've been killing it!

For this problem, why did we return head?

stevethach