LeetCode
Question
·
Aug 2019
·
Los Angeles
Facebook | Onsite | Tree Iterator
10 upvotes
8,993 views
13 replies
Question Details
Question: *Follow-up 1: Assume BSTIterator is a library class. You need to extend the functionality of this class by implementing 2 methods: public boolean hasPrev() { } / Can only take 1 step back / public...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Binary Search
Binary Tree
More from Meta
Reddit
Leetcode is cooked in 2026 and we don't hire people who only grind leetcode.
Reddit
Returning to SWE work after 3 years of cancer treatment
Reddit
2026 New Grad Recap
Reddit
Most likely failed meta phone screen
Reddit
Targeting OpenAI SWE Roles? Insights on what to expect from recent system design loops