3 ms·
lol I had to do the fizzbuzz test a few weeks ago the modulo operator was obvious to me and after the interviewer kept adding conditions to the problem, they t
by cloudjacker 10y ago
lol I had to do the fizzbuzz test a few weeks ago
the modulo operator was obvious to me and after the interviewer kept adding conditions to the problem, they then asked me why I didn't concatenate strings instead of my approach of returning the string in each conditional statement
so fellow engineers, without having the telepathic skills I possessed that allowed me to know exactly what traits the interviewers were looking for, would you have:
a) erased your entire correct solution to write a more efficient solution, not knowing the time constraints for this problem
b) created the most efficient and scalable fizzbuzz solution known to man at the beginning? in the 15 minutes provided
c) laughed in the interviewer's faces since it was obvious the question was irrelevant to how you would solve problems for the company on a day to day basis?
d) other