Chief Hopper Discussions | Algorithms | HackerRank
  • + 1 comment

    It's correct. Have you considered reducing it. It's not in the prime factor form.