Remove Nodes From Linked List - Two Solutions - Recursion / Stack - Python

Опубликовано: 16 Октябрь 2024
на канале: CheatCode Ninja
868
28

Leetcode 2487
Weekly Contest 321
Python
Topics Covered: Stack, Recursion, Link List
Question Difficulty: Medium
Remove Nodes From Linked List

Buy Me a Coffee: https://www.buymeacoffee.com/cheatcod...

Problem Link: https://leetcode.com/problems/remove-...

Patreon:   / cheatcodeninja  
Discord:   / discord  

Equipment I use to make these videos:
Mic: https://amzn.to/3kb97AK
Writing Pad: https://amzn.to/3IIYlfi

CHAPTERS
00:00 Problem Description
00:14 Example
00:37 Stack Intuition
03:14 Stack Time & Space Complexity
03:27 Recursive Intuition
05:18 Recursive Time & Space Complexity
05:39 Stack Coding Solution
07:14 Recursive Coding Solution


#leetcode
#faang
#recursion
#stack
#linklist
#programming
#codinginterviews
#codinginterviewquestions
#codinginterview
#leetcode