Story Details

  • The FizzBuzz that did not get me the job

    Posted: 2025-01-21 20:15:05

    The author recounts failing a FizzBuzz coding challenge during a job interview, despite having significant programming experience. They were asked to write the solution on a whiteboard without an IDE, a task they found surprisingly difficult due to the pressure and lack of syntax highlighting/autocompletion. They stumbled on syntax and struggled to articulate their thought process while writing, ultimately producing incorrect and messy code. The experience highlighted the disconnect between real-world coding practices and the artificial environment of whiteboard interviews, leaving the author questioning their value. Though disappointed, they reflected on the lessons learned and the importance of practicing coding fundamentals even with extensive experience.

    Summary of Comments ( 256 )
    https://news.ycombinator.com/item?id=42784699

    HN commenters largely sided with the author of the blog post, finding the interviewer's dismissal based on a slightly different FizzBuzz implementation unreasonable and indicative of a poor hiring process. Several pointed out that the requested solution, printing "FizzBuzz" only when divisible by both 3 and 5 instead of by either 3 or 5, is not the typical understanding of FizzBuzz and creates unnecessary complexity. Some questioned the interviewer's coding abilities and suggested the company dodged a bullet by not hiring the author. A few commenters, however, defended the interviewer, arguing that following instructions precisely is critical and that the author's code technically failed to meet the stated requirements. The ambiguity of the prompt and the interviewer's apparent unwillingness to clarify were also criticized as red flags.