Box stacking problem, Dynamic Programming in C++

Box stacking problem, Dynamic Programming in C++