DecompositionReverse
Split a path as U A D B at its first return, and swap the pieces, recursively: U B' D A'.
FindStat
Mp00101via DyckPathDecompositionReverse(DyckPath)Split a path as U A D B at its first return, and swap the pieces, recursively: U B' D A'.Typed signatures
| Type | Package | Applies |
|---|---|---|
(dyck_path) -> dyck_path | combinatorics | always |
Details
- Takes a
DyckPathand returns aDyckPath— a typed map, so a wrong carrier is a type error rather than a wrong answer. - FindStat's Mp00101, an involution. It is the binary tree's left-right symmetry carried across the Dyck-path bijection.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | FindStat |