Ad
  • Default User Avatar

    With 0 having infinite factors, I am not sure what a correct output would be so I will change description so 0 should return -1 as well.

    edit: test case added too