Optimal Binary Search Tree Time Complexity