Mastercard Interview Question

fizz buzz algorithm