What is the correlation between IQ tests and algorithm interviews? Do people with better IQ scores do better on algorithm interviews?
I do know that cognitive abilities and long term memory abilities aren't correlated. Cognitive abilities and short term / working memory are positively correlated though.
A little bit of preparation helps a lot, but beyond a certain point preparation doesn't help anymore. All interview questions require solving a new problem in the interview itself.
Depending on the interviewer and question, the difference between a hire and no-hire recommendation can be quite marginal. There is a huge luck factor involved.