Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1952. Three Divisors
Determine whether n has exactly three positive divisors — equivalently, check if n is a perfect square and its square root is prime, since only squares of primes have exactly three divisors.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.