Ad
  • Custom User Avatar

    I wasn't trying to be 'clever' i was soving the problem the best way that i knew. Thank you for your 'feedback'

  • Custom User Avatar

    This is incredibly unperformant, though. On smaller numbers, we measured this to be six times slower than the solution above and up to 100,000 times slower on much larger numbers. Not all fancy-looking solutions are so 'clever'.