EE interview question

bug fix a piece of code