Code samples for cracking the coding interview