Euclid's algorithm

  • 2/22/2011

Just for fun:

var _gcd = function(a, b) { return ( b == 0 ) ? a : _gcd( b, a%b ); }

Hey, I'm RJ! For more learnings about software and management, find me @rjzaworski or sign up for my semi-regular newsletter.

Let’s keep in touch

Send me timely updates on software, product, and process.