LeetCode173——二叉搜索樹迭代器

我的LeetCode代碼倉:https://github.com/617076674/LeetCode 原題鏈接:https://leetcode-cn.com/problems/binary-search-tree-iterator/description/ 題目描述: 知識點:二叉搜索樹、棧 思路:中序遍歷的分段實現 本題的中文翻譯出錯,原英文如下: next() and hasNext()
相關文章
相關標籤/搜索