Skip to content

Instantly share code, notes, and snippets.

@ss2k
Created November 17, 2014 17:01
Show Gist options
  • Save ss2k/e125dcd0e878a126aaa7 to your computer and use it in GitHub Desktop.
Save ss2k/e125dcd0e878a126aaa7 to your computer and use it in GitHub Desktop.
a = [0,1,2,3,4]
bucket[0] = 0
[1] = 1
[2] = 2
[3] = 3
[4] = 4
a = [0,1,2,3,4,5]
bucket[0] = 0,1
[1] = 2
[2] = 3
[3] = 4
[4] = 5
a = [0,1,2,3,4,5,6]
bucket[0] = 0,1
[1] = 2,3
[2] = 4
[3] = 5
[4] = 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment