結果 : implement optimal binary search trees with dynamic programming