Problem 894 · Medium

All Possible Full Binary Trees

Memoised recursion: pair every full tree of the left size with every full tree of the right size.

Open the interactive visualisation