Problem Description

Task: return gcd(a,b) using while loop (Euclid algorithm).

Input Format

Java method

Output Format

Return value

Constraints

Work with negatives too.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next