crack the coding interview cha.13.3 done