Ok, fed up reading the thread. I would have failed all the interviewers just simplely in comparing the following two code pieces:
--====== A ========
Case when @i % 3 = 0 and @i % 5 = 0 then 'BizzBuzz'
when @i % 3 = 0 then 'Bizz'
when @i % 5 = 0 then 'Buzz'
else Str(@i)
End
--====== B ========
Case when @i % 5 = 0
case when @i % 3 = 0 then 'BizzBuzz' else 'Buzz' end
when @i % 3 = 0 then 'Bizz'
else Str(@i)
End
The method B will save half of the modular calculation!