Skip to content

Tag: fizzbuzz

FizzBuzz using limited number of conditions and StringBuilder

All of you know the trivial fizzbuzz question during the first junior interviews. In my case, it was more than write a solution. There were more requirements: Only two ifelse statements. StringBuilder required. No Map, Collection. No ternary operator. Only Java core (8 or 11). You have only 5 minutes (in my case, but for you it doesn’t matter). My