Pregunta de entrevista de LeagueApps

Fizz buzz algorithm question in java