Rosetta Problems

Optimal Binary Search Tree

https://onlinejudge.u-aizu.ac.jp/problems/ALDS1_10_D