Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoustrophedonOrder ¶
func BoustrophedonOrder(root *IntBinaryTree) []int
BoustrophedonOrder works as follows. https://en.wikipedia.org/wiki/Boustrophedon
Types ¶
type IntBinaryTree ¶
type IntBinaryTree struct { Value int Left, Right *IntBinaryTree }
IntBinaryTree is a binary tree of integers.
Click to show internal directories.
Click to hide internal directories.