FACEBOOK Coding Question - Binary Search Tree Iterator | LeetCode

preview_player
Показать описание
Hi! I’m JeanTheCoder. On my channel, you will find solutions to leetcode coding interview questions. I love coding and sharing my experiences with you. Subscribe to see more solutions to leetcode questions and also tech reviews on your feed!
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00​ - Reading Problem Statement
1:50 - Running Through Examples
6:10​ - Code

Binary Search Tree Iterator
Very Popular question asked by FANG companies like Facebook, Microsoft, Google etc...

Follow me on Social Media:

#codinginterviews​​​ #leetcode​​​ #softwareengineer​​ #blackengineer
Рекомендации по теме
Комментарии
Автор

Time : O(1) for hasNext() and next is - O(1) amortized
Space : O(N)
* LIKE & SUBSCRIBE TO THE CHANNEL *
Follow me on Social Media🔥🔥 :

JeanTheCoder