Skip to content

Instantly share code, notes, and snippets.

@juanfurattini
Created August 28, 2018 23:51
Show Gist options
  • Save juanfurattini/f3021db1c1e50d9432c3ba5fcdf9bdca to your computer and use it in GitHub Desktop.
Save juanfurattini/f3021db1c1e50d9432c3ba5fcdf9bdca to your computer and use it in GitHub Desktop.
def solution(a)
a.map(&:abs).uniq.size
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment