https://www.geeksforgeeks.org/optimal-binary-search-tree-dp-24/