Challenge: Recursive Prime Factors

Apply what you’ve learned about recursion in the coding exercises in this lesson.

Problem statement

In this challenge, you have to implement the factorize function.

void factorize(int n);

Get hands-on with 1200+ tech skills courses.