Coding interviews suck for everyone involved. The problems are predictable and often don’t reflect actual development tasks.
“It Burns Us!”
Yes, Sméagol. Yes it does…
So, I’m collecting here the Interview Questions I’ve heard of first or second hand, along with my solutions and commentary.
Hopefully this can be informative to other preparing for the dreaded coding interview, and maybe, just maybe, someone will just look at this and let me skip that little bit of hell.
- No Googling! …
- No Frameworks! …
Table of Contents
Calculate the nth digit of the Fibonacci sequence.
Given an array of integers find unique pairs that add up to n.