top of page
  • Writer's pictureBilly Quarles

Coding interview question

Interesting example of interview question to determine one's ability to think critically and come up with solutions. In FizzBuzz, you replace every multiple of 3 with 'Fizz' and multiples of 5 with 'Buzz', where multiples of both 3 & 5 (e.g., 15) are 'FizzBuzz'. My first thoughts went to the % or modulus operator to determine multiplicity, but there are other possible ways to make it cleaner with smart 'if' statements.

8 views0 comments

Recent Posts

See All
bottom of page