Skip to content

Instantly share code, notes, and snippets.

@basilevs
Created January 21, 2014 04:39
Show Gist options
  • Select an option

  • Save basilevs/8534555 to your computer and use it in GitHub Desktop.

Select an option

Save basilevs/8534555 to your computer and use it in GitHub Desktop.
Suppose we want to parse a text stream where each line is one or two integers:
1 2
3
4 6
Lines come in random order.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment