Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
Were you able to remove these nodes?
yessss
recursion is the easiest solution here. monotonic stack makes sense if you solved Next Greater element. And the O(1) space reverse, get nodes, then reverse again is hard to come up with without hints.
hey man love from Greece once again - thank you !
ah, one day I'll return to Greece!
Were you able to remove these nodes?
yessss
recursion is the easiest solution here. monotonic stack makes sense if you solved Next Greater element. And the O(1) space reverse, get nodes, then reverse again is hard to come up with without hints.
hey man love from Greece once again - thank you !
ah, one day I'll return to Greece!