面试题库
正在加载内容
请稍候,正在为你获取题目资料。
← 返回 microsoft 的题目列表
Binary Search Tree Iterator
类型:online_judge
Design an iterator over a binary search tree (BST). Implement the BSTIterator class that represents an iterator over the in-order traversal of the BST. Example Input 7,3,15,null,null,9,20