Min Stack (Leetcode #155)

preview_player
Показать описание
In this video I walk through a solution for Min Stack (Leetcode #155) to help with knowledge of stacks, arrays, and tuples.


Рекомендации по теме
Комментарии
Автор

Using a tuple is such a great idea! Thanks for this.

TombstoneBlues
Автор

Great idea! My implementation had pop with O(n) complexity (
P.S. This question was chosen in LeetCode 30 days challenge.

islammurtazaev
Автор

Liked you solution. keep up the great work.

atyab
visit shbcf.ru