Why do you still need to solve the FIZZBUZZ programming interview question?

in #softwaredevelopment4 years ago (edited)

fizzbuzz2.jpg

If you will #google FIZZBUZZ you will get tons of results, as you can see from the screenshots below even at page 20 from the Google search results, you will still see substantial information from websites containing this topic.

2020-11-29_20h08_07.png

This topic is perhaps one of the most talk about programming interview question out there in the field of #softwaredevelopment. Fizzbuzz has also been viewed over 70,000 times in stackoverflow since it was posted. It is also mentioned in reddit. And even this topic was posted 8 years ago in stackoverflow you will still come across some pretty recent articles this year, just like this one from beapython.dev, the site actually contains a decent solution for this #programming #interview question.

THE FIZZBUZZ QUESTION

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 “FizzBuzz”.

If you did not prepare for an interview, let's say you haven't been able to practice coding for a while and it happened that you came across with this question, this might appear difficult and tricky to solve. However, If you are an experienced developer this programming question will certainly easy for you to solve in your language of expertise, and this is actually the point of hiring the best candidate for the job. Any company would certainly want to filter out their applicants ensuring that they will be able to hire the right person that has at least the minimum or not best working knowledge in the field.

Why it is still worth checking out?

Even if companies are not using this anymore as part of their elimination process of filtering out candidates, the process behind the solution of this question is still substantially applicable in programming. The solution of the fizzbuzz question contains a combination of control flow that is actually found in most systems, so if you are a #beginner, a student, or on the way to learning how to code, it's not going to be a terrible idea checking this out. I have a video below showing you my own solution to this question in three different #programminglanguages namely #python #javascript and #php. The code editors that I used in this video are #VSCODE and #PYCHARM.

I hope that this has been informative for you. Thank you for reading!