Given an integer , return an array where each element follows these rules:
If is divisible by both and , output "FizzBuzz"
If is divisible by , output "Fizz"
If is divisible by , output "Buzz"
Otherwise, output the number as a string
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
LeetCode 412
Given an integer , return an array where each element follows these rules:
If is divisible by both and , output "FizzBuzz"
If is divisible by , output "Fizz"
If is divisible by , output "Buzz"
Otherwise, output the number as a string