Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvertBinaryTree ¶
func InvertBinaryTree(tree *BinaryTree)
InvertBinaryTree works in-place on the given tree.
Types ¶
type BinaryTree ¶
type BinaryTree struct { Value string Left, Right *BinaryTree }
BinaryTree is a binary tree with string Values.
Click to show internal directories.
Click to hide internal directories.