Skip to content

Instantly share code, notes, and snippets.

@rgommezz
Created August 5, 2018 21:09
Show Gist options
  • Save rgommezz/aee3ae1053dfb10d23bb0996517658ad to your computer and use it in GitHub Desktop.
Save rgommezz/aee3ae1053dfb10d23bb0996517658ad to your computer and use it in GitHub Desktop.
input | output
0 | 0
20 | 20
40 | 20
60 | 20
50 | 10
40 | 0
50 | 10
20 | 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment