POSTS
Kata: Prime Factors
By Carlos Buenosvinos
- 1 minutes read - 48 wordsContext
Although quite short, this kata is fascinating in the way it shows how “if” statements become “while” statements as the number of test cases increase. It’s also a wonderful example of how algorithms sometimes become simpler as they become more general.
Level
Easy / 40 minutes