You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a class named “PrimeFactors” that has one static method: generate.
The generate method takes an integer argument and returns a List.
That list contains the prime factors in numerical sequence.