Documentation ¶
Index ¶
- func CounterClockWise(bt *btree.Node) (res []int)
- func CounterClockWise2(bt *btree.Node) (res []int)
- func InOrder(bt *btree.Node) (res []int)
- func InOrderRecur(bt *btree.Node) (res []int)
- func IsPosOrderArr(arr []int) bool
- func LastOrder1(bt *btree.Node) (res []int)
- func LastOrder2(bt *btree.Node) (res []int)
- func LastOrderRecur(bt *btree.Node) (res []int)
- func MorrisIn(bt *btree.Node) (res []int)
- func MorrisLast(bt *btree.Node) (res []int)
- func MorrisPre(bt *btree.Node) (res []int)
- func PosOrderArrToBST(arr []int) (bt *btree.Node)
- func PreOrder(bt *btree.Node) (res []int)
- func PreOrderRecur(bt *btree.Node) (res []int)
- func PrintByLevel(bt *btree.Node)
- func PrintByZigZag(bt *btree.Node)
- func ReconByLevel(res string) (bt *btree.Node)
- func ReconByPre(s string) (bt *btree.Node)
- func SerialByLevel(bt *btree.Node) (res string)
- func SerialByPre(bt *btree.Node) (s string)
- func SortedArrToBST(arr []int) *btree.Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CounterClockWise2 ¶
逆时针打印树边界节点(根节点,树左边界延伸,叶子节点,右边界延伸).
func LastOrder1 ¶
func LastOrder2 ¶
func MorrisLast ¶
func PosOrderArrToBST ¶
func PrintByLevel ¶
func PrintByZigZag ¶
func ReconByPre ¶
func SerialByPre ¶
func SortedArrToBST ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.