This post makes it seem like what counts in an interview at a big company is to give the "right" answer, not showing your reasoning process or applying your skills.
Is it really like that?
When I'm running an interview for a coding test, I absolutely don't care about your answers as long as you show a proper reasonning with strong arguments. However, if you take 25 minutes to write a loop that count letters, that's going to be a reject.