LeagueApps Interview Question

Fizz buzz algorithm question in java