Ad
  • Custom User Avatar

    Yes, it seems that the requirements have changed since I submitted the above solution.
    It fails when I rerun the tests now.
    Admittedly it isn't very efficient for large ranges; I just wanted to see how short of a solution I could find.