Amazon.com Interview Question
1,572 Interview Reviews |
Back to all Amazon.com Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Software Development Engineer at Amazon.com:
How would you find the common primes in two integers ?
See more for this Amazon.com Software Development Engineer Interview
Helpful Question?
Yes |
No
Inappropriate?
Answers & Comments (2)
0 of 2 people found this helpful
//assume i>j
while(j!=0){
int temp=i%j;
int i=j;
int j=temp;
}
return i;
}
Helpful Answer?
Yes |
No
Inappropriate?
To comment on this
question,
Sign In with Facebook or
Sign Up



2 of 2 people found this helpful
by Interview Candidate:
Prime factorise the GCD.