Crowdfire interview question

25 Horses puzzle.