alex_dugger $>

Interview Questions: Introduction

01 Nov 2017

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.

General Complaints

  1. No Googling! …
  2. No Frameworks! …

Table of Contents

Fibonacci

Calculate the nth digit of the Fibonacci sequence.

Finding Pairs

Given an array of integers find unique pairs that add up to n.