Find the nth prime

0
Remix

Return the nth prime number. Start with trial division, then use a sieve of Eratosthenes with an estimated upper bound and explain the complexity of both.

NvidiaTechnical phone screenLast asked Feb 2026
No answer yet. Write the first one; the best answer gets endorsed.