Ad
  • Custom User Avatar

    In haskell, attempting to run the code just results in "File name does not match module name".

  • Custom User Avatar

    Why are there so many checks in isPalindromic() before checking if the reverse is equal to the starting number? Seems redundant to me. I ran a test and found that if you change isPalindromic() to just be the last return line, then you get a 5% increase in speed (I used random numbers from 0 to 100,000, changing the range to 0-100 million makes it 8% faster)