about | help | code help+videos | done | prefs |
Write a method that returns all of the prime factors of 'num' listed in a string in increasing order with each prime factor preceded by a ":". If the same prime factor occurs multiple times, list each occurrence. You MAY choose to use recursion, but it is NOT required. feb_22_2019_HL_listFactors(3454337) → ":257:13441" feb_22_2019_HL_listFactors(14641) → ":11:11:11:11" feb_22_2019_HL_listFactors(1331) → ":11:11:11" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 410
Copyright Nick Parlante 2017 - privacy