_61_180

package
v0.0.0-...-85ba926 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

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 (t *BSTIterator) HasNext() bool

func (*BSTIterator) Next

func (t *BSTIterator) Next() int

type TreeNode

type TreeNode struct {
	Val   int
	Left  *TreeNode
	Right *TreeNode
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL