From 9a7313d669adda40b0953af8708a03a7c8d5c06d Mon Sep 17 00:00:00 2001 From: Vitor Oliveira Date: Sat, 20 Mar 2021 11:10:25 -0700 Subject: [PATCH] move to array folder --- {maths => data_structures/arrays}/fizz_buzz.rb | 5 ----- 1 file changed, 5 deletions(-) rename {maths => data_structures/arrays}/fizz_buzz.rb (89%) 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 #