Citi interview question

Implement fizzbuzz and how to optimise it