Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f46f0dc commit 105142dCopy full SHA for 105142d
Algorithms/0173.binary-search-tree-iterator/binary-search-tree-iterator.go
@@ -22,13 +22,13 @@ func Constructor(root *TreeNode) BSTIterator {
22
return BSTIterator{}
23
}
24
25
-// Next returns the next smallest number */
+// Next returns the next smallest number
26
func (it *BSTIterator) Next() int {
27
28
return 0
29
30
31
-// HasNext returns whether we have a next smallest number */
+// HasNext returns whether we have a next smallest number
32
func (it *BSTIterator) HasNext() bool {
33
34
return false
0 commit comments