Prime Factorisation
Easy
Math & Number Theory
Print the prime factors of n (with repetition) in ascending order.
Constraints
2 <= n <= 10^12
Discussion
No discussions yet.
Join Shalyam Newsletter
Get exclusive insights with every issue: education, research and innovation news.
Shalyam Support
Hi! Ask us anything โ we'll reply on WhatsApp or Telegram within 24 hours.