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

Changing the root of a binary tree

ProjectEuler Problem 719 (some hints, but no spoilers)

The Power Sum, a recursive problem by HackerRank