Skip to content

Instantly share code, notes, and snippets.

@chilversc
Created May 26, 2011 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chilversc/993715 to your computer and use it in GitHub Desktop.
Save chilversc/993715 to your computer and use it in GitHub Desktop.
0 1 2 3 4 5 6 7 hours
|----|----|----|----|----|----|----|
A B C D E F items
When grouping we start with A, this overlaps B so we get (A, B), now do we continue from A and thus include C to get (A, B, C), and then continue from C to end up with (A, B, C, D)?
Thus resulting in (A, B, C, D), (E, F)
Or do we remain fixed at A giving (A, B), (C, D), (E, F)
Secondly is it sliding, so we start with A giving (A, B), then we move on to B giving (A, B, C) resulting in (A, B), (A, B, C), (B, C, D), (C, D), (E, F)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment