1170 - Counting Perfect BST. Explanation