Solutions to challenging programming questions