Problem 894 · Medium
Memoised recursion: pair every full tree of the left size with every full tree of the right size.
Open the interactive visualisation