Published On Aug. 21st 2014

Code Katas in PHP: Prime Factors

Episode 1 Run Time 19:08

Download

In the first episode in our "Code Kata" series, we'll tackle the prime factors challenge. We must use TDD to build a class that will compute the prime factors for any given number.

View the source for this episode on GitHub, and, if you want to autotest your code, refer to this lesson.