evolv consulting interview question

Fizz buzz programming question from leetcode