Available question text
Return the k-th smallest positive divisor of n (or -1 if n has fewer than k divisors). The core challenge is enumerating divisors in ascending order efficiently—use the factor-pair symmetry around sqrt(n) to do better than a naive O(n) scan.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1492. The kth Factor of n
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source