Skip to content

Instantly share code, notes, and snippets.

@stevez
Created May 3, 2015 03:23
Show Gist options
  • Save stevez/831be46ad4f427d2277c to your computer and use it in GitHub Desktop.
Save stevez/831be46ad4f427d2277c to your computer and use it in GitHub Desktop.
subsequences
[1,2,3].subsequences()
//===> [[1], [1, 2, 3], [2], [2, 3], [1, 2], [3], [1, 3]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment