Coding interview preparation code.