A new bijection on m-Dyck paths with application to random sampling
arXiv:1603.06290
Abstract
We present a new bijection between variants of -Dyck paths (paths with steps in starting and ending at height and remaining at non-negative height), which generalizes a classical bijection between Dyck prefixes and pointed Łukasiewicz paths. As an application, we present a new random sampling procedure for -Dyck paths with a linear time complexity and using a quasi-optimal number of random bits. This outperforms Devroye's algorithm, which uses random bits.