Skip to content

Instantly share code, notes, and snippets.

@blatyo
Created April 22, 2014 15:13
Show Gist options
  • Select an option

  • Save blatyo/11183093 to your computer and use it in GitHub Desktop.

Select an option

Save blatyo/11183093 to your computer and use it in GitHub Desktop.
# Input
['a', 'a', 'a', 'b', 'b']
# Output
=> ['a']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment