Example 39: Prime Factors
Learn how to calculate prime factors of a given number.
We'll cover the following...
Problem
Write a function that takes a positive integer as input and obtains its prime factors.
Example
Input | Output |
---|