Chapter 1 : Dynamic programming - ENSIIE