A new bijection on m-Dyck paths with application to random sampling

Abstract

We present a new bijection between variants of m-Dyck paths (paths with steps in \+1,-m\ starting and ending at height 0 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 m-Dyck paths with a linear time complexity and using a quasi-optimal number of random bits. This outperforms Devroye's algorithm, which uses O(n n) random bits.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…