Sign up
Log in
Home
Language tracks
JavaScript (Legacy) track
Exercises
Prime Factors
JavaScript (Legacy) track
Prime Factors
An exercise from the
JavaScript (Legacy) track
medium
About this exercise
Compute the prime factors of a given natural number.
algorithms
control flow conditionals
control flow loops
integers
math
View all solutions