diff --git a/array_equals.rb b/array_equals.rb new file mode 100644 index 0000000..90cf08c --- /dev/null +++ b/array_equals.rb @@ -0,0 +1,8 @@ +def array_equals(arr_integers_1, array_integers_2) + arr_integers_1.length.times do |index| + return false if arr_integers_1[index] - array_integers_2[index] != 0 + end + return true +end + +