Skip to content

Instantly share code, notes, and snippets.

@unixmonkey
Created August 15, 2013 00:10
Show Gist options
  • Save unixmonkey/6237081 to your computer and use it in GitHub Desktop.
Save unixmonkey/6237081 to your computer and use it in GitHub Desktop.
def problem_2(a,b);(0..a.size).select{|i|a[i]!=b[i]}.size;end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment