Number of different binary trees on n nodes (Catalan numbers).

Return the exact number of structurally different rooted ordered binary trees with exactly n nodes as a canonical decimal string. An empty subtree contributes one possibility. The executable companion is bounded to 0 <= n <= 100; the Catalan theorem and recurrence are general.

Examples
Input: 0
Output: "1"
Hints

Number of different binary trees on n nodes (Catalan numbers).

Return the exact number of structurally different rooted ordered binary trees with exactly `n` nodes as a canonical decimal string. An empty subtree contributes one possibility. The executable companion is bounded to `0 <= n <= 100`; the Catalan theorem and recurrence are general.