Problems
Contest
Discuss
Interview
Online Interview
Assessment
Store
Redeem
Premium
For you
For you
Create
Most Votes
All Time
Newest
No search result
Create
K factor of n| python solution
Abdullahi Abdulkabir
43
Dec 04, 2020
explore
December LeetCoding Challenge
fac
=
[
i
for
i
in
range
(
1
,
n
+
1
)
if
n
%
i
==
0
]
if
(
len
(
fac
)
<
k
)
:
return
-
1
return
fac
[
k
-
1
]
0
0
Comments (0)
Sort by:
Best
Comment
Explore
Download App
Support
Terms
Privacy Policy
More
Copyright © 2026 LeetCode
United States