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

Prompt Engineering and LeetCode

ProjectEuler Problem 719 (some hints, but no spoilers)