dynamic programming
 
Jogging Bottoms