How is possible for someone with a rudimentary understanding of programming to be unable to solve this in a couple of minutes?
How is possible for someone with a rudimentary understanding of programming to be unable to solve this in a couple of minutes?
The problem with the world of professional programming is that there are a lot of people claiming to be programmers that aren't.
The reason why people can code-monkey their PHP scripts but not solve FizzBuzz is because of an iterative process. When you are hacking some web page, you just change stuff until it works. You try again and again and again and eventually you're right.
With FizzBuzz, you have to think about a couple things before you answer. It's so simple that you have to get it right the first time; you're supposed to think, then program. But most people are not in the habit of thinking, and just skip right to the press buttons while staring at the blinky cursor stage. Then they fail the FizzBuzz interview.
This applicant was a graduate of some fairly high ranked university, though I don't know which one. They can come from anywhere.
Needless to say, my company didn't try to keep her when Booz Allen Hamilton recruited her away from us.
I just wrote a FizzBuzz solving script in python in about two minutes sitting on the couch drinking wine, while the tv is running in the background. But I guarantee you that I would mess it up in an interview situation. Under extreme stress, I do not have the ability to think straight. It's almost as if my mind goes into survival mode, allowing only basic operations in order to ensure a fast reaction time.
I heard that our brain can only hold a certain amount of blood, and that blood carries the sugar that fuels it. So when you're scared, and blood is pumping to your amygdala, your frontal lobes have less fuel to make decisions.
Do you program for your day job? I do and I've found I'm under that sort of stress consistently, and with harder problems to solve. I guess it does affect me but I've been working on my 'not caring' skills to compensate.