Code for common programming challenges interview questions