LeagueApps interview question

Fizz buzz algorithm question in java