Ad
  • Custom User Avatar

    I've just tried again the top voted solution, it passed the attempt tests in ≃ 1.5 seconds. My original solution in Python passes in ≃ 0.5 seconds. No idea what's going on here.

  • Custom User Avatar

    The top voted solution fails because of recursion error (not too slow). I don't know what should be done, there must have been at some moment an update in the tests or the framework that explains this change. 4 months ago it was not the case, and no change appears in the history of versions for Python.