Implement a function that gets the greatest common divisor of two numbers
Anonymous
While at University, I had come across the euclidean algorithm. This is what I implemented, but it took a while to remember it so I had a few trials.
Check out your Company Bowl for anonymous work chats.