Live data from Hacker News

Ask HN: What were interviews like before Leetcode?

news.ycombinator.com

1–10 of 91 posts

Ask HN: What were interviews like before Leetcode?

#1
In the process of recruiting right now and I'm happy to see more and more companies are moving towards non-leetcode style interviews. As a child of the leetcode generation, this got me thinking - what kind of technical questions were asked before leetcode?

Were algorithmic "gotcha" questions still asked? Were the questions easier? Was the bar just higher?

I'm also guessing there was no 'coderpad' or 'hackerrank' - was everything just done on a whiteboard and pseudo-coded?

Re: Ask HN: What were interviews like before Leetcode?

#5
In 2013, I got asked this question at Yahoo for a Frontend job:

Explain as detailed as possible what happens when I click a button?

——

Around 2004, I recall college friends talking about an exam Google published. I think one question was: What is DEADBEEF?

——

In 2008, the “cracking the coding interview” book was published, and it is like leetcode but the problems are well formulated.

Re: Ask HN: What were interviews like before Leetcode?

#6
Back when a fast microcomputer ran at 25 MHz and had 4 MB of RAM, back before Stack Exchange existed for people to copy and paste from, back when documentation came in a hardcopy book or CD, back when compilers were something you paid hundreds of dollars for, back before there were publicly available frameworks and libraries that were open source and free as in beer, the bar was much, much higher and knowing at least the basic algorithms was the norm. Whining about coding during a job interview would have gotten you laughed out of the room.

Re: Ask HN: What were interviews like before Leetcode?

#7
post #2

My interviews in the decade before the rise of leetcode, were algorithmic questions very similar to leetcode. Surprise !!!! I think people are crying way too much about leetcode.

I haven't had to be an interviewee in 6+ years, but I can understand why people are upset. Competing with other applicants who spend dozens of hours per week memorizing leetcode solutions sounds not fun.

Re: Ask HN: What were interviews like before Leetcode?

#8
We had algorithm questions, but they weren't absurd. Whereas you'll routinely run into leetcode "hard" questions in interviews now -- which should be a dead giveaway that the candidate has memorized the answer -- back then you'd maybe get one question that peaked out at about medium. That's about the practical limit for a competent (but exceptional) mortal who hasn't simply memorized a book of trivia.

(And yes, we did these on whiteboards.)

It wasn't that long ago that Joel Spolsky proposed fizzbuzz as an interview screen...and he really meant that you should ask that question. The idea was that you demonstrate that you can write code using a simple test, then move on to more important factors. Can you imagine such a thing today?

Re: Ask HN: What were interviews like before Leetcode?

#9
Nope. No pseudo code. Definitely lots of whiteboarding. Lots of "recall arcane facts". (Like "Why did our counter stop counting up at 16M" - the answer being "because you used float for a counter, what's wrong with you")

And definitely lots of algorithmic questions.

Better questions than leetcode, though, because they were usually grounded in an actual problem the interviewer had.

Post reply on HN