Amdocs Interview Question

Find gcd of given array Matrix rotation