Unique binary search tree AC.