Skip to main content
2 votes

Sorting the divisors of a given number

There are a couple of optimisations you can make to your code: Rather than initialise divisors to [1], and then dealing with ...
Nick's user avatar
  • 156

Only top scored, non community-wiki answers of a minimum length are eligible