I'd argue that the time pressure in those situations encouraged just trying to substraction or add 1 to the loop's boundary, since it had a good success rate and is much faster than thinking through simulating the loop/algorithm. Learning is rarely rewarded in those interview situations that build on leed code.