Solutions to common technical interview questions