code examples of common interview questions