結果 : write an algorithm for optimal binary search tree