Skip to content

Conversation

@kelsk
Copy link

@kelsk kelsk commented Aug 31, 2019

No description provided.

Copy link

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very close, but you do have one small bug. See below.

elsif (array1 == [] || array2 == []) || (array1 == nil || array2 == nil)
return false
else
array1.length.times do |i|

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if array1.length is less than array2.length?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants