Solutions to technical interview questions