Anonymous Interview Question

solve greatest common divisor + difference set