Stack and Queue in Python

Опубликовано: 27 Март 2024
на канале: Python Clinic
2,662
140

!Important correction regarding the first problem: it will have quadratic complexity, not cubic. My apologies.

Hi, in this video I'll talk about two data structures that are at the heart of programming itself: the stack and the queue. We'll look at different implementations in Python, interview problems, and practical examples. As always, feel free to ask questions in the comments.

00:00 - Interview Problem
03:12 - Solution with "Depot"
10:54 - Stack
11:53 - Queue
12:50 - Formal Interface
15:40 - List Implementation
19:22 - List Problem
20:40 - Linked List Implementation
28:23 - Deque
31:47 - RPN
38:43 - Print Queue
41:14 - Well, that's it


На этой странице сайта вы можете посмотреть видео онлайн Stack and Queue in Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Python Clinic 27 Март 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,662 раз и оно понравилось 140 зрителям. Приятного просмотра!