Greatest Common Divisor Time : Space : 123int Solution::gcd(int A, int B) { return !B ? A : gcd(B, A % B);}