結果 : optimal binary search tree in dynamic programming with example