TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What were interviews like before Leetcode?

20 pointsby zkirby11 months ago
In the process of recruiting right now and I&#x27;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?<p>Were algorithmic &quot;gotcha&quot; questions still asked? Were the questions easier? Was the bar just higher?<p>I&#x27;m also guessing there was no &#x27;coderpad&#x27; or &#x27;hackerrank&#x27; - was everything just done on a whiteboard and pseudo-coded?

31 comments

subharmonicon11 months ago
In the 90’s when I was at Microsoft it was common for people to ask brain teasers and algorithm questions and expect people to be able to reason through the problems even if they walked in not knowing the particular algorithm or data structures involved. The interview was graded more on your thought process and ability to make forward progress with hints and less on getting to a correct answer in 25 minutes.<p>People were super harsh about attention to detail, e.g. you had to write code that would compile on the whiteboard and you would get penalized to some degree for making mistakes, especially if there were enough to make it clear that you hadn’t really been using the language you claimed to be proficient in.
评论 #40863336 未加载
评论 #40862824 未加载
timr11 months ago
We had algorithm questions, but they weren&#x27;t absurd. Whereas you&#x27;ll routinely run into leetcode &quot;hard&quot; questions in interviews now -- <i>which should be a dead giveaway that the candidate has memorized the answer</i> -- back then you&#x27;d maybe get one question that peaked out at about medium. That&#x27;s about the practical limit for a competent (but exceptional) mortal who hasn&#x27;t simply memorized a book of trivia.<p>(And yes, we did these on whiteboards.)<p>It wasn&#x27;t that long ago that Joel Spolsky proposed fizzbuzz as an interview screen...<i>and he really meant that you should ask that question</i>. 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?
评论 #40862809 未加载
评论 #40862891 未加载
评论 #40862796 未加载
vertis11 months ago
20+ YOE.<p>I&#x27;ve never been fond of whiteboard technical interviews which used to be the norm, I really struggle to draw and talk at the same time. I do fine in interviews normally, I tend to be more of a delivering value for the business kind of developer and strongly emphasise this in my interviews.<p>I&#x27;m not writing operating systems and neither are most the other people I work with and hire.<p>These days, I don&#x27;t do leetcode. If a company insists I walk away. I have better things to do with my time than memorise a bunch of useless information (for some value of useless).<p>I&#x27;m mostly on the other side of interviews now and am firmly in the belief that you can get a limited set of signals during an interview. The &quot;Thinking Fast and Slow&quot; view is that we&#x27;re not very good at evaluating people from a gut feeling.<p>You might think this would push me towards leetcode and other quantitive measures, however I&#x27;m much more interested in working out whether you can be good on a team. The last thing I want is an asshole 10x engineer that makes everyone else unhappy. If you can&#x27;t actually program I&#x27;m going to work that out by watching your PRs and you won&#x27;t pass the probation. I&#x27;m not suggesting I do NO checking in the interview, just that I put limited stock in what can be read during this process.
评论 #40863249 未加载
PlunderBunny11 months ago
We would give interviewees a little sample of code (e.g, a minimal string copy function using a loop in C) and ask how they would make it better, without defining what better meant. Some developers would try to optimise it, others would point out the bad variable names and lack of documentation, or talk about unit tests. It was a starting point for a discussion.
评论 #40862912 未加载
ThrowawayR211 months ago
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.
vunderba11 months ago
It was usually a combination of algorithmic questions, some riddles, a few technical questions, etc. All of it was done on the whiteboard.<p>The thing is that at the time there were no books around commonly asked interview questions, online leetcode lists, etc. so the assumption was that the applicant was basically going in cold, and that there wasn&#x27;t an expectation that they would be able to instantly solve the problems.<p>It was more important for them to talk out loud so that the interviewer could observe their thought process.
评论 #40863136 未加载
alisonatwork11 months ago
Companies that liked to do stupid &quot;gotcha&quot; questions still did those, they just expected you to regurgitate the answer onto a whiteboard or (occasionally) into an IDE on a provided laptop instead of a website.<p>All the other companies did the same as the non-leetcode companies do today. IQ test type things (&quot;next shape in the sequence&quot;), Fermi problems (&quot;how many piano tuners&quot;), behavior questions (&quot;tell me about a time when...&quot;), code review (&quot;look at this [bugged] code, what improvements would you suggest&quot;), systems analysis (&quot;explain the sequence of events that happen when...&quot;), systems design (&quot;draw an architecture diagram of a project you recently worked on and explain it&quot;) etc.
muzani11 months ago
Smart and gets things done, by Joel Spolsky: <a href="https:&#x2F;&#x2F;www.joelonsoftware.com&#x2F;2006&#x2F;10&#x2F;25&#x2F;the-guerrilla-guide-to-interviewing-version-30&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.joelonsoftware.com&#x2F;2006&#x2F;10&#x2F;25&#x2F;the-guerrilla-guid...</a><p>Still a great read. Base idea is that they&#x27;re smart <i>enough</i> to solve problems and they get things done and don&#x27;t just blab about ideas which they won&#x27;t implement. So they&#x27;d write code to prove they can get things done.<p>Brainteasers were okay, but bad at testing the latter. This somehow evolved into Leetcode culture or take home assignments.
评论 #40863140 未加载
invalidator11 months ago
For a couple decades now, the way I have interviewed people is to ask a simple, very-high-level question, then repeatedly asking either &quot;So how does it do that?&quot; (drill down), or &quot;What happens next?&quot; (back out).<p>For instance: What does &#x27;printf(&quot;hello, world\n&quot;);&#x27; do? Obviously, it prints something, but how does it do that? Pretty quickly you&#x27;re talking about includes, macros, libc, linking, machine code, system calls... One question can easily fill an entire interview slot.<p>The fun thing is there&#x27;s no &quot;right&quot; answer. Nobody is expected to know everything about how software works, but everyone is expected to know something. This format gives the interviewee the opportunity to show off what they know best, and the interviewer gets to pry in to see how deeply they know it.<p>I&#x27;m a low-level guy so that&#x27;s the direction I tend to probe. Usually someone else asks a similarly abstract high-level question. One of my favorites is: &quot;Design a parking garage&quot;. Again, there&#x27;s no right answer. It&#x27;s a prompt for the candidate to show what they know. Very quickly they&#x27;re coming up with functions and class hierarchies and&#x2F;or data structures for vehicles, spaces, turnstiles, payment kiosks, figuring out how to pass them around, etc. The interviewer has plenty of opportunities to pry into design tradeoffs, add complications, and so on.<p>The grand idea is to have a deep conceptual discussion instead of just seeing if they can write a few lines of code. This also demonstrates how well they can communicate. The catch is you have to be sure they give some actual concrete answers in a few places, and aren&#x27;t just fast talkers.
评论 #40864767 未加载
评论 #40863241 未加载
评论 #40863230 未加载
ryx11 months ago
I work as an engineering manager at a medium-sized company and my experience is fundamentally different from what some of you describe. I gave up to do any live-coding or higher-level algorithm questions at all. For me the main challenge in a software engineer‘s daily work is product problem solving and that’s what we aim for in our interviews.<p>Especially with recent advances in AI-assistance it becomes more and more crucial to learn fast, and have the ability to apply knowledge to actual problems, no matter where the knowledge originates from. That, solid bug-hunting capabilities and a good understanding of the big picture and the business problem you are trying to solve.<p>I‘d even argue that nowadays communication skills are much more important than any memorized knowledge about algorithms or a given technology. Communication is what makes you a successful developer, ironically - even when prompting an AI assistant.<p>Fun fact: 10 years ago I had an exam-like testsheet that I handed out to candidates and gave them one hour to fill it out, including paper-based coding. It makes me feel seriously embarrassed when thinking about that with today&#x27;s experience :) ..
paulmooreparks11 months ago
When I was interviewing candidates in the 90&#x27;s and 00&#x27;s, I did the whiteboard thing, but not to implement strtoul (my Microsoft interview) or some algorithmic thing. I&#x27;d pick out a recent problem that was solved in our actual code base, clean out anything proprietary, and distill it down to something that could be designed and coded in about 40 minutes or so. That way, I could cover domain knowledge and coding knowledge in a microcosm of what the interviewee would actually be doing day-to-day.<p>If I were doing it all over again today, I&#x27;d skip the whiteboard and bring along a laptop loaded with our compilers and toolchain and any supporting libraries needed to solve the problem. I&#x27;d mirror it to the screen in the interview room so we could discuss the solution as we went.
onion2k11 months ago
<i>Was the bar just higher?</i><p>In web dev interviews, in the UK, the bar was much lower. It was rare to be asked anything that resembled a leetcode question. Everything was focused around the technology stack you&#x27;d be using, the culture of the company, and &#x27;agile&#x27; (before people called it that).
dbjacobs11 months ago
In the eighties it was completely nonstandardized and depended heavily on each person you talked with. You would typically visit with a company for the day while they passed you around from person to person. One might have you code something on a whiteboard. Another might ask you a brain teaser. Someone would go through the experience on your resume. And another might ask you something like &quot;how would you figure out the number of pixels needed to make this wall indistinguishable from a picture (i.e., retina display)&quot; just to see how you think. Lunch was often where team fit was assessed.
ungreased067511 months ago
There were riddles and brain teasers. Eventually people realized that people who were good at those weren’t necessarily good at the job. Eventually people will realize the same about leetcode.
评论 #40862787 未加载
newprint11 months ago
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.
评论 #40862747 未加载
thomasfromcdnjs11 months ago
I&#x27;ve been working in startups for around 15 years, remotely for US companies and AU companies. I hadn&#x27;t even heard of Leetcode until a few weeks ago.
JohnBooty11 months ago
A lot of companies still don&#x27;t use Leetcode, at least in my experience, so I don&#x27;t think we need to wonder too hard!<p>Change hasn&#x27;t been too drastic since I entered the business in the late 1990s.<p>Salaries used to be less inflated, so hiring interviews were a little more lax, because hiring a $60K&#x2F;yr developer is much lower stakes than a $150K&#x2F;yr developer.<p>You were also competing against fewer candidates. &quot;Back in the day&quot; before WFH they might have had 10 or 20 applicants instead of 200 or 2000. So there was less automation and more human factor.<p>There were often still coding exercises. Your portfolio&#x2F;work history mattered, as it does today.<p>I think there was much less awareness of &quot;software engineering&quot; (sustainable, scalable processes like source control, CI&#x2F;CD, etc) as opposed to like, &quot;just hire a guy who is smart and writes code good.&quot;<p>A lot of programming jobs at smaller shops were really kind of like hybrid sysadmin&#x2F;coding jobs. You might also be fixing peoples&#x27; printer drivers and shit, in addition to coding reports and data imports or whatever.
whitehexagon11 months ago
30 years of freelancing and most interviews (Europe) have just been conversations, first with business, and then with a couple techie team members. Which always felt like more of a &#x27;does he fit in&#x27; type approach.<p>The business side along the lines of &#x27;what value can you add&#x27;, and the technical side was more about describing problems you had discovered, communicated about, fixed, and details about the methodology, or APIs involved.<p>I rejected interview requests with google et al knowing of the time wasting LC approach. I think most developers are there to solve real world business problems, not rewrite an OS, although actually that is currently my hobby project :)<p>With AI assist, the focus on solving business problems comes back to the forefront, and the LC can be done by the AInt so bad coder. Or I think it was mentioned here recently that coders will soon be relegated to AI reviewers, what a horrible thought.<p>In summary ;) I think I&#x27;d be interviewing programmers focusing more based on business domain knowledge at this point.
Delphiza11 months ago
Leetcode is significantly overrepresented on HN. Leetcode is barely a thing across most of the world. Mid-career dev jobs in non-FAANG (and their orbiting startups) organisations don&#x27;t expect people to spend their time studying for leetcode interviews. Leet is definitely not a thing in other industries - you don&#x27;t interview for, say, a logistics co-ordinator, by making them study and regurgitate logistics theory.<p>The short answer to your question, and to try and not start up another HN thread on how good or bad differing interviewing techniques are, is that we did things similar to how most recruiters and hiring managers are still doing it across the world. I think the big difference is more around getting to the first interview. Technology means that there are more applicants, automation of filtering (bad), and remote interviews than there used to be in the past. The funnels to get candidates may have changed, but in my experience, once in the final stretch things are pretty much the same as they have always been.
awill8811 months ago
Leetcode?<p>I find it interesting that there’s an assumption that if you exist in this world as a professional software engineer and are successful by all reasonable measures that it somehow predisposes an exposure with leetcode.<p>I’ve never used it for interviews not because I put energy to avoid it, but because I don’t think it’s all that popular, or maybe I just don’t interview often enough. If I want a new job I wait until I’m emotionally done with the one I’m at and none of the places I have ever interviewed have used it. What, is it that if you’re not using it today then you’re somehow “behind”?<p>I don’t understand this post at all. What a loaded assumption. Does it do something only Leetcode can do? Is it some holy grail? I’m just burnt out on this tenor of the community here, as if any of these platforms are seated as some kind of hegemony of “the engineering scene” Yawn.<p>An interview is and will always be a balance of your technical skill and your ability to present your work and deal with timely feedback. That’s it.<p>So for people who wonder wtf this post is about, you’re not alone.
评论 #40863163 未加载
评论 #40863112 未加载
jacknews11 months ago
My first job, I had an hour or so to learn vi, and show what I&#x27;d learned, then write a basic program (not much more than hello world) in C, of course using vi.<p>Second job similar actually, only this time it was their awful proprietary word processor (a Wang clone I think) and it&#x27;s macros ans PL.<p>Then for a big-name computer company, a full day of IQ tests, personality tests, 3-4 interviews, whiteboard pseudo-code, team meets, etc - but all candidates processed in a single day and an answer a few days later (I got the job) - not the same as today where it&#x27;s spread over weeks or months and you might be ghosted at any stage.
评论 #40862847 未加载
cancerhacker11 months ago
Mid 90s at Apple, questions were often very specific to the platform. One manager I knew would bring a printout of a macsbug stdlog - basically current stack trace, disassembly around the pc and the state of various system globals, and have you work through how it got there. As platforms have exploded I wouldn’t expect that level of familiarity anymore, but if I’m hiring for a c &#x2F; c++ engineer I expect you to be able to describe in hand wavey terms what a structure looks like, and be able to write an accurate memcpy (and I don’t care about syntax!)
erikerikson11 months ago
Among the previous techniques were questions like how many apples would fit inside Mt. Fuji. It was an invitation to do some talk aloud problem solving on some unknown answer with the purpose of gaining insight into the candidates cognitive processes. It turned out it was also a heuristic for readership for some science magazines. I was totally surprised by them early in my career and again floored when I learned that some families would discussed such problems in the car. Didn&#x27;t map to the job so it wasn&#x27;t a good proxy for fitness.
efortis11 months ago
In 2013, I got asked this question at Yahoo for a Frontend job:<p>Explain as detailed as possible what happens when I click a button?<p>——<p>Around 2004, I recall college friends talking about an exam Google published. I think one question was: What is DEADBEEF?<p>——<p>In 2008, the “cracking the coding interview” book was published, and it is like leetcode but the problems are well formulated.
delduca11 months ago
Just a casual conversation to see if there&#x27;s a match.<p>At least in Brazil, some companies still use this approach. My current company does for high level positions, as well as another one where I was interviewed. They include two or three architecture questions, though.
coffeecloud11 months ago
Unrelated to the original question:<p>I know it’s unpopular to say here, but I found studying data structures and algorithms to get ready for job interviews made me a better developer.
Hizonner11 months ago
&quot;What have you done?&quot;<p>&quot;How did you do it?&quot;<p>&quot;What problems did you encounter?&quot;<p>&quot;How did you solve them?&quot;<p>It&#x27;s not hard to recognize an impostor.
neontomo11 months ago
in 2012 an interviewer asked me what would happen if i removed the &lt;!DOCTYPE html&gt; tag. very unexpected question but i guess it was testing my &#x2F;very basic&#x2F; fundamentals.
groby_b11 months ago
Nope. No pseudo code. Definitely lots of whiteboarding. Lots of &quot;recall arcane facts&quot;. (Like &quot;Why did our counter stop counting up at 16M&quot; - the answer being &quot;because you used float for a counter, what&#x27;s wrong with you&quot;)<p>And <i>definitely</i> lots of algorithmic questions.<p>Better questions than leetcode, though, because they were usually grounded in an <i>actual</i> problem the interviewer had.
评论 #40879557 未加载
BadHumans11 months ago
The same as Leetcode but on whiteboards.
jerryjose11 months ago
After giving about 3000 job opportunities world wide , our agency is still giving out Jobs and Business loans worldwide.<p>if you need a job or financial aid kindly contact us now via email : shalomagency247@outlook.com<p>Thanks.