So for instance, matrix
chain multiplication which is a textbook example for
dynamic programming will give out a O(n^3) algorithm. There
are much better algorithms for this problem out there,
specifically a O(n*log n) one.
Just after i first was taught about the chain matrix
multiplication problem and it's dynamic programming solution
i couldn't believe that was the best algorithm that
could be done for it. Some days later after trying first to
find an algorithm and then looking a lot around the internet
i finally found this paper. Thanks
Hu and Shing for the great work and taking out my obsession
with this problem.
