Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SameTreeSubstructure ¶
func SameTreeSubstructure(t, s *IntBinaryTree) bool
SameTreeSubstructure returns true if 't' exists somewhere inside of 's'.
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.