CrimsonLogic interview question

Program debugging - Nailing plank