Solutions to common programming questions