Construct Distinct Binary Search Trees - Coding problem | OneNoughtOne