Home
Random
Nearby
Log in
Settings
Donate Now
If Wikipedia is useful to you, please give today.
About Wikipedia
Disclaimers
Search
Euclidean algorithm: Difference between revisions
Article
Talk
Language
Watch
View history
Edit
Browse history interactively
← Previous edit
Next edit →
Content deleted
Content added
Visual
Wikitext
Revision as of 15:19, 29 September 2006
edit
195.194.119.220
(
talk
)
→
[[Python (programming language)|Python]] implementation
← Previous edit
Revision as of 15:27, 29 September 2006
edit
undo
195.194.119.220
(
talk
)
→
[[C programming language|C]]/[[C++]]/[[Java programming language|Java]] implementation
Next edit →
Line 48:
}
</nowiki></pre>
boring lol
This can be rewritten iteratively as:
<pre><nowiki>
int gcd(int a, int b) {