Ad
  • Custom User Avatar

    Yes, my Python solution is still working.

    Attemptting the same code MUILTIPLE TIMES with no changes gives me different numbers of "Failed Randoms Tests"

    That's generally how random tests work. Your solution is probably "almost good", it just handles some cases incorrectly, and such test cases are generated for each test run with different frequency. To pinpoint your issue, you can check what inputs cause your solution to fail, recreate such test case locally in your IDE, and debug through it.