Closest binary tree value II - 30 min Java Coding Challenge

preview_player
Показать описание
No BGM. No intro. No fancy video editing. Just a handsome Chinese man who is going through a quarter-life crisis practicing coding questions.
Рекомендации по теме
Комментарии
Автор

you are using stack data structure which is deprecated, the preferred one is using Deque<Integer> stack = new ArrayDeque<>(); but thanks for your solution, maxHeap will also do the trick

hz
Автор

I've learned a lot from your videos, keep up the good work bro

doichanvang
welcome to shbcf.ru