cracking the coding interview 18-1,18-3

18-1,18-3