Challenges from Stanford Code in Place. I strongly recommend that you try to solve on your own before consulting some solution.