Given two positive integers a and b, find their Greatest Common Divisor (GCD) using the Euclidean algorithm implemented recursively.
- Two positive integers
aandb.
Input: a = 48, b = 18
Output: 6
Explanation: GCD(48, 18) → GCD(18, 12) → GCD(12, 6) → GCD(6, 0) = 6.