KonkurStudy
همه کارت‌ها

Stack-Sortable Permutations and Catalan Numbers

Push 1…n1\dots n in order and pop at will: the reachable output orders are exactly the 231-avoiding permutations, and there are Cn=(2nn)/(n+1)C_n = \binom{2n}{n}/(n+1) of them.

کارت مفهوم کنکور ارشد علوم کامپیوتر