We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
This is not very interesting at all. Tried using a list of primes for better hashing, and turned to ord instead of int. Gave up on defaultdict for minor improvement. Still no clue. I'm not sure if it the the mindset to iterate from 3162278 to 1000000 that is wrong in itself.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #98: Anagramic squares
You are viewing a single comment's thread. Return to all comments →
This is not very interesting at all. Tried using a list of primes for better hashing, and turned to
ord
instead ofint
. Gave up ondefaultdict
for minor improvement. Still no clue. I'm not sure if it the the mindset to iterate from3162278
to1000000
that is wrong in itself.