lc230

package
v0.0.0-...-b6778da Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KthSmallest

func KthSmallest(root *TreeNode, k int) int

func KthSmallest2

func KthSmallest2(root *TreeNode, k int) int

Types

type BST

type BST struct {
	// contains filtered or unexported fields
}

Follow up

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