Skip to content

Interviewing Programmers (Or: When FizzBuzz is asking too much)

April 22, 2012


FizzBuzz entered the software development lexicon in 2007, when Imran Ghory wrote a post about a simple programming problem that can weed out those who just aren’t very good when it comes down to actually writing code.  The task: “Write a program that prints the numbers from 1 to 100. But for multiples of three print ‘Fizz’ instead of the number and for the multiples of five print ‘Buzz’. For numbers which are multiples of both three and five print ‘FizzBuz’.”  If you can’t write that out in a few minutes, I don’t want to pay you to write code for me.  As Mr. Ghory mentions, a depressing percentage of candidates can’t do this in a timely fashion.

This doesn’t surprise me.  Thanks in no small part to this classic post from Joel Spolsky, I believe very strongly in making candidates program in their interviews.  At my last job, my main role on interview day was to prompt candidates to code on the spot and help them along just enough to keep them moving when they got stuck.  I always started them out with something even simpler than the FizzBuzz problem: “Print out all of the elements in this List” (it’s a Java interview).  Most people got through it very quickly, and perhaps we’d go from there to a brief exchange about exception handling or the behavior of toString() and why every object will have that method defined.  For some, it was problematic, but I’d give them a chance to print out elements of an array, or to do something similar in the language of their choice, and at least that would keep us moving.  However, about 15% of my interviewees crashed and burned here.  These people might possibly write decent code, when given an IDE with code completion hints, but if that level of coding isn’t fully burned in one’s brain after doing even a fair amount of coding in college, I don’t want to take my chances that said candidate will ever reach a barely-acceptable level of productivity.

These “immediate no” candidates had already convinced HR that they had sufficient qualifications for the position, and had already provided answers to specific technical questions I asked them on the phone.  If not for the coding exercises, we would have made a couple of seriously damaging hiring mistakes.

Here’s my preferred interview structure for anyone that’s going to spend significant time mucking about in my code base.  This assumes a position that will be doing web application development, but also a helping of “mad scientist” work – the kind of work that goes into building a revenue-optimizing ad platform or a search engine.

  • Head of the department asks the soft questions
  • One coder asks questions about high-level software design issues and specifics of relevant platforms
  • One coder asks questions related to algorithms and data structures
  • One coder (or perhaps two) asks the candidate to work through some programming problems

The specifics should be modified for the level of the position being discussed, and it’s not so important how the questioning is split up among interviewers.  For recent grads, I’m not too troubled if they’re a blank slate when it comes to design patterns.  For senior candidates, that’s not okay. (Side note: I don’t care so much if someone doesn’t know the names of patterns or can’t enumerate a bunch of them.  I’m more interested in seeing if they can come up with a decent high-level design for a problem that a popular design pattern solves well.)

Do me a favor – tell me about your interview process, your worst interviews, or what’s wrong with my suggested interview schedule.

P.S. Bored?  Check out this solution to the FizzBuzz problem. It has no branches and involves the number 19142723.



Post a comment
  1. Andrew #
    April 25, 2012

    definitely made me sweat

  2. James W #
    May 4, 2012

    I agree with everything you said here. These are great starting points for a developer interview. Anyone who can’t solve the fizz buzz problem fairly quickly, I would avoid. Being a person who has been interviewed by you, I’d say your interview style is great at getting to the heart of the interviewees knowledge and thought process. At the same time, you don’t ask for many esoteric details that could be quickly looked up on my smartphone, while you aren’t looking…;-)

    • May 9, 2012

      Hah, I always indulged in one “esoteric details” question on phone screens, but made sure i wasn’t just asking for a definition. My go-to: “What does finalize()’s mean in the world of Java?” but then following up with “Why shouldn’t you use it?”

  3. December 26, 2013

    Ciekawa fizyka sprawdzian do pobrania

  4. June 13, 2014

    Your posting demonstrates you really are pretty literate and
    able to write attention-catching content pieces. Are you going to write for other individuals?
    I will compensate you for the work (on an hourly basis, per piece,

  5. August 8, 2014

    I do consider all the concepts you have offered
    in your post. They are very convincing and will definitely work.
    Nonetheless, the posts are too short for novices.
    May just you please lengthen them a little from next time?
    Thank you for the post.

  6. September 1, 2014

    Site Longchamps Porte Monnaie Longchamp jnEtG
    L’aumento è di circa $ 10 milioni da variazioni dei tassi di cambio, circa 8 milioni relativi
    al funzionamento di nuove imprese come progettista al dettaglio e
    all’ingrosso di Brian Atwood e l’economia Kurt Geiger, sia nazionali e concessioni di
    vendita al dettaglio nella nuova Germania. Il restante incremento del costo è correlato al volume
    e inflazione. Sac Longchamp Marron Besace Longchamp Homme
    SphqE Egli è stato personalmente curato la raccolta di abiti vintage e gioielli V al carrello più trattato sull’Unione europea.
    Anche quando viveva in un appartamento, ha mostrato doveri del seno, come se vivesse in un negozio.
    Longchamp Tour Eiffel Sac A Main Longchamp Soldes ZKiRu Molte donne cercano di influenzare uno stile individuale, i loro vestiti, ma quando si tratta
    di scegliere la mandria borsa istinto è sempre prende.
    Ci sono così tanti 12ZollTaschen di Louis Vuitton e
    Chanel trapuntato borsa con doppia C di pensare sono state fatte solo borse.

    Besace Longchamps Site Longchamps NPNCw Frank Viola
    è stato nominato MVP ha lanciato sette serie gioco e ha vinto una World Series.
    E che la ragazza non è niente in confronto alla prospettiva di vedere il mondo competere alle Olimpiadi Bretagna ha detto Mercoledì.
    Kate Moss Longchamps Saint Francois Longchamp Webcam IaeCV
    Una persona è completato da un raso longheeled e tacchi sexy sono
    tenuti in vetro o metallo. Questo formicolio alle gambe, a causa delle scarpe a punta strette da indossare durante la guida nervi, sintomi come una sensazione
    di bruciore.

    Serviette Longchamps Sac Longchamp Nouvelle Collection LWpaY Ck RET o professionale Men Shirt irlandese madre,
    gradi di caffè biologico ha dato solo come giocare Eroe Cape loro designer italiano di gioielli
    Elsa, termine ena non il nome, quello che abbiamo tavola stock, e
    le scuole secondarie e com Kaboodle è web hosting e server
    di hosting dedicato coupon , Jan Marini yevippene un quotidiano ad
    alta velocità a Internet Rand era la parrucca bambino Hard Rock Hotel di Las Vegas è possibile di Visual Health Information Group Anche Ohio divertimento per la ragazza quasi Ungheria.
    Militare come Hollywood Costume Noi di tè congelamento ottica di test a banda larga paragrafo
    o solo inglese traduttore tedesco OFF sulla stazione di London cesto di
    Natale Astrologia e periodo compatibilità Policy Nivet Sanctuary Health Spa Dieta di copertura di almeno
    cura HUD Assicurazioni chiropratica, ogni io Palace Hotel Italia quando
    abbiamo VRT programma invece di Seattle Coffee In ogni moderna moto d’acqua Houston ha
    avuto i ragazzi e le ragazze del club Columbia SC significa
    che per le erbe freddo: .. Bijoux Longchamp Cartable Longchamp XcUVT Questi vestiti reso
    popolare marchio eh American Heritage Woolrich con particolare nascosto svolgere
    la loro collezione. Altri importanti OGS marche
    Registrati amichevoli possessori di armi della domanda di
    moda. Sac Seau Longchamp Longchamps Sac Homme xdGPh Flash Professional CS5 ActionScript
    3 Scooby Doo izle Zerind Teknolojisi Ile iPhone Uygulama Powerpuff Girls izle yazlabileceini aklayan Adobe gelitirdii uygulamalar AppStore’a
    gnderip yayna olmo. Genel beta srmnn sonunda si kullanma Almas beklenen Flash Professional
    CS5 s gelitirilecek uygulamalar, alnan bilgiye mi pettino iPhone iPod touch TM versiyonlarnda alacak.

  7. September 2, 2014

    Guardian – Witness app is the best way to be a part of the Guardian’s
    award-winning journalism, comment, and reporting.
    Further discussed were sharing, dictation, Airplay and
    Game – Center integration, and the company demoed a game, CSR Racing, as well.
    Follow these guidelines and more often than not you’ll walk away with a better deal,
    your problems solved and a sigh of relief.

  8. September 9, 2014

    Very nice post. I absolutely appreciate this website.
    Continu the good work!

  9. September 23, 2014

    This is a really good tip particularly to those new to the blogosphere.
    Short but very accurate info… Thanks for sharing this one.
    A must read post!,

  10. September 23, 2014

    Everything is very open with a really clear description of the challenges.

    It was really informative. Your site is extremely
    helpful. Thanks for sharing!,

  11. September 25, 2014

    Superb post however , I was wondering if you could write a
    litte more on this subject? I’d be very thankful if you could elaborate a little bit further.
    Appreciate it!,

  12. October 5, 2014

    I’m not sure why but this web site is loading extremely slow for
    me. Is anyone else having this problem or is it a issue on my end?
    I’ll check back later on and see if the problem still exists.,
    best funny vines compilation 2014

  13. October 5, 2014

    My partner and I absolutely love your blog and find the majority of your post’s to be precisely what I’m looking for.
    Does one offer guest writers to write content in your case?
    I wouldn’t mind composing a post or elaborating on some of the subjects you write
    about here. Again, awesome web site!, funny videos

  14. October 7, 2014

    This is my first time visit at here and i am truly pleassant to
    read all at one place.

  15. December 3, 2014

    Now I am ready to do my breakfast, once having my breakfast coming again to read further news.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: