Skip to content
Hiring process
8 levels
1
IQ Test
IQ Test
2
Online Test
Additional Online Test (If Required)
3
Interview
Office Interview with Hiring Manager
4
Test Task
Unpaid Test Task (Motivation Check)
5
Paid Task
Paid Test Task and Follow-Up Interview
6
Iterative Tasks
Iterative Paid Test Tasks
7
Verification
Office Verification
8
Founder Interview
Final Interview with the Founder
Problems
Contests
Leaderboard
Sign in
Problems
>
Prime Power in a Factorial
> Editorial
Statement
Editorial
Statistics
Prime Power in a Factorial — Solution & Editorial
Legendre's formula: ∑
k≥1
⌊N / P
k
⌋, summed until P
k
exceeds N.
Complexity:
O(log
P
N)
Refer this job
×