Google coding interviews require "zero bug". What's that means?
(1) Given the problem, write the code to solve it. Then when I first click the buttom to "run" it. Success, test case passed. 0 bug with 1 run.
(2) Given a problem. I write code with solution. Usually I have errors when I first time to click "run". I spend few minutes to fix the bugs, in a fast pace, eventually have a good solution.
Do you think "zero bug" means (1) or (2)?