Ad
  • Custom User Avatar

    Numbe of python tests is now reduced.

  • Default User Avatar

    BTW the testing using list.sort() for the answers that is not fast (O(n log n)).
    "Set" can be faster.

    How many tests needs to passed right now?

  • Default User Avatar

    There's no any speed limitation in the task, so IMO solution overtesting is excessive.

  • Custom User Avatar

    IMO you're absolutely right, though, maybe it wouldn't be fair with those who completed it in python 3. What do you think? Ty for your contribution.

  • Default User Avatar

    How many final random test needed?

    I've reached about 350 passed tests (*3 calls), but still got message:"Process was terminated. It took longer than 12000ms to complete".

    Optimization is good, but maybe about 10 tests will be enought?

    PS I'm using Python 3