Write a function to find the greatest common divisor (GCD) of two numbers using recursion.
HardProblem Statement
Write a function to find the greatest common divisor (GCD) of two numbers using recursion.
Sample Input
48, 18
Sample Output
6
Limits
Time: 2s · Memory: 256 MB