Mark43 interview question

There was a debugging style interview where given some code you had to finish/ fix it to make it function properly.