Five Essential Phone-Screen Questions — cover art: a panda at a lamplit desk, holding a vintage candlestick telephone to one ear and listening hard, a pencil poised over a notepad, with a careful, evaluating expression. 👍

2004 · Drunken Blog Rants · Guide

“Many C/C++/Java candidates, even some with 10+ years of experience, would happily spend a week writing a 2,500-line program to do something you could do in 30 seconds with a simple Unix command.”
— From Five Essential Phone-Screen Questions, September 2004
Read the essay

© 2004 Steve Yegge. Originally published at Drunken Blog Rants.

Author’s note

This post was voted a top read from my oeuvre by an AI committee, and it is still a good read. But it is pretty dated now.

For starters, we don't do phone screens anymore. But there is also no point in asking them on Zoom or in person, because they are all now poisoned by being in my blog. Within six months after publishing this, I found candidates already knew that was what I was going to ask. Oops.

Second, it is getting dated. You finally stopped needing bits and bytes sometime in the past decade. And OOP is meh. Regexps are pretty, but nowadays, you probably only need to know their rough shape and performance characteristics, not their syntax or detailed semantics.

Algorithms and data structures, though, will never go out of style.

AI Notes

Less a blog post than an internal Amazon screener's manual that wandered onto the public web, answer key and all: worked Java solutions, a two-dozen-term OO vocabulary checklist, even the actual grep one-liner from the real 2003 phone-number cleanup that the scripting question is built on. Every horror specimen is field-collected from candidates Steve had met within three weeks of writing — the Person class that multiple-inherits from Head, Body, Arm, and Leg; the firm assertion that a car with a bumper sticker is a subclass of car. And he is not grading on Unix piety: one candidate answered the scripting question with 175 lines of C++ on a whiteboard, and got an offer.

The closing "Special Fast-Track Version" is five little interview dialogues that foretell doom before a single technical question gets asked, each capped with a translation nastier than the last. And the comment thread turned the essay on its author: readers began catching bugs in the sample answers almost immediately, and Steve's confession about how one got there (he "optimized" a loop that was already correct, and broke it) makes a quiet case that the screeners could use some screening too.

Related listings

  • 2008

    Get That Job at Google

    The two ends of the same gauntlet. Five Essential Phone-Screen Questions is written for the screener; Get That Job at Google, four years later, is the candidate's preparation manual for surviving exactly this checklist.

  • 2008

    Done, and Gets Things Smart

    The phone screen catches a total vacuum — the candidate who is clueless in one whole area. Done, and Gets Things Smart is the harder problem above it: how to recognise the rare engineer who is genuinely better than you are.

  • 2005

    Practicing Programming

    Two drunken-era siblings. Practicing Programming even prescribes sitting in on phone screens as a practice drill — and the five litmus-test areas here are a tidy map of exactly what that deliberate practice should cover.