Amazon Interview Question: Compute the nth prime.... | Glassdoor