Source: http://www-info.iutv.univ-paris13.fr/~santini/M1102_2017_2018/2017_2018_M1102_Intro_Algo/ch11_coursExercices.pdf