Skip to content

Instantly share code, notes, and snippets.

@emirotin
Created December 20, 2017 14:50
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 emirotin/aedde0f1351b9ba7d3374b960308fb84 to your computer and use it in GitHub Desktop.
Save emirotin/aedde0f1351b9ba7d3374b960308fb84 to your computer and use it in GitHub Desktop.
Compare Rationals
(a, b) => a.numer * b.denom - b.numer * a.denom
@pramod0
Copy link

pramod0 commented Dec 31, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment