abyanmajid / dyckvis

Dyck paths visualizer built with DOM methods

Home Page:https://abyanmajid.github.io/dyckvis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dyck Paths Visualizer (dyckvis) · MIT License

A dyck path is a sequence of steps in a $n\times n$ grid from (0, 0) to ($n$, $n$) that lies strictly below, or touching, the diagonal line. The number of dyck paths in an $n\times n$ grid is given by the $n$-th catalan number,

$$\displaystyle \LARGE C_n=\frac{1}{n+1}\binom{2n}{n}$$

dyckvis is a visualizer that shows every dyck path given a value for $n$.

About

Dyck paths visualizer built with DOM methods

https://abyanmajid.github.io/dyckvis/

License:MIT License


Languages

Language:JavaScript 64.3%Language:HTML 29.5%Language:CSS 6.2%