Balanced Brackets (Part I)

TL;DR

Brackets only: (, ), {, }, [, ]

How many balanced strings of length N=14 are there?

For N=4, answer is 18:


GL!!!
MDB

Comments

Popular posts from this blog

Standard Priority Queue IX: Vowels Frequency

The Power Sum, a recursive problem by HackerRank

Binary Search to Find Next Greater Element V