codinghangover.wordpress.com
Spoj(MIXTURES) Mixtures – Dynamic Programming
I always love solving Harry Potter theme based problems.This one fun solving. Its based on classic DP problem Matrix Chain multiplication. Task : Minimize the amount of smoke that Harry can get …