LeetCode Min Stack | JavaScript

preview_player
Показать описание

My links:

Useful video to learn function prototyping (part of a Net Ninja series):
Рекомендации по теме
Комментарии
Автор

My brother I know it's been 3 years but this is supposed to be in constant time O(1). Your implementation of the getMin is O(n) afaik

sirklatt
visit shbcf.ru