LeftBorderSymmetry
Reverse the order of the right subtrees hanging off the left border, applying the same symmetry inside each.
FindStat
Mp00018via BinaryTreeLeftBorderSymmetry(BinaryTree)Reverse the order of the right subtrees hanging off the left border, applying the same symmetry inside each.Typed signatures
| Type | Package | Applies |
|---|---|---|
(binary_tree) -> binary_tree | combinatorics | always |
Details
- Takes a
BinaryTreeand returns aBinaryTree— a typed map, so a wrong carrier is a type error rather than a wrong answer. - FindStat's Mp00018, an involution.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | FindStat |