Maximum Frequency Stack | Leetcode 895

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

1) 0:00 Explaining the problem out loud
2) 1:10 Algorithm walkthrough
3) 9:15 Coding it up
4) 14:00 Time Complexity

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

Hi how the tc is o(1) we are inserting in a arraylist creating a new stack... For every ind of arraylist

Saurabh-febg