crack the coding interview cha.11.1 done