Coding practice for job interview.