Optimal Binary Search Tree Solved Example