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

Advent of Code - Day 6, 2024: BFS and FSM

Golang vs. C#: performance characteristics (simple case study)

Advent of Code - Day 7, 2024: Backtracking and Eval