Solutions to interview questions and code challenges