General coding practice for interviews