PhoneCheck Interview Question

Leetcode easy problem - fizzbuzz