Thursday, December 1, 2011

Stack a set of n boxes from largest to smallest

Recursively or with dynamic programming

1 comment:

  1. Isn't it just sorting? Or you mean you have a pile of boxes one on top of the other and you need to sort it using several other piles? Like Hanoi tower?