dynamic programming
 
Biscuit Tins