TPP interview question

Where is the mistake in this code