• + 1 comment

    HackerRank relies on Pypy and its hash() algorithm. You should've mentioned it in the problem facts. Either adapt your Python environment to use its own hash() or state this in the problem ducuments. Lots of time wasted on a technical mistake!!