diff --git a/maths/fizz_buzz.rb b/data_structures/arrays/fizz_buzz.rb similarity index 89% rename from maths/fizz_buzz.rb rename to data_structures/arrays/fizz_buzz.rb index 133421c..23c5912 100644 --- a/maths/fizz_buzz.rb +++ b/data_structures/arrays/fizz_buzz.rb @@ -72,11 +72,6 @@ fizz_buzz(n) # Condition 2: 15 % 5 == 0 , num_ans_str += "Buzz" # => num_ans_str = "FizzBuzz" # -# So for FizzBuzz we just check for two conditions instead of three -# conditions as in the first approach. -# -# Similarly, for FizzBuzzJazz now we would just have three -# conditions to check for divisibility. # Complexity Analysis #