Project Euler #98: Anagramic squares

  • + 0 comments

    I followed a simpler approach, I precomputed all the answers and stored it, and just responded to the queries...

    for the hash function i used the descending order of digits.