Find optimal cost to construct binary search tree



Find optimal cost to construct binary search tree