Documentation ¶
Overview ¶
@lc code=start *
- Definition for a binary tree node.
- type TreeNode struct {
- Val int
- Left *TreeNode
- Right *TreeNode
- }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BSTIterator ¶
type BSTIterator struct {
// contains filtered or unexported fields
}
func Constructor ¶
func Constructor(root *TreeNode) BSTIterator
func (*BSTIterator) HasNext ¶
func (this *BSTIterator) HasNext() bool
func (*BSTIterator) Next ¶
func (this *BSTIterator) Next() int
Click to show internal directories.
Click to hide internal directories.