Optimal Binary Search Tree Using Dp