Ad
  • Custom User Avatar

    Yes, you can check this in the example

  • Default User Avatar

    normally sudoku has a smaller 3*3 box that has to have all 9 digits as well .. does that box apply in this question as well ?

  • Custom User Avatar

    You must be reading something wrong because the 3 tests under the too short label have less than 10 elements. Maybe you meant too long instead, if that's the case then the answer is yes.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    the scoring in the 10th frame is very confusing
    you get an extra 3rd shot only if you have a strike or a spare in the first 2 shots of the 10th frame right ?

  • Custom User Avatar

    I didn't hide the answer, and the tests are fine. That's why I resolved it.

  • Default User Avatar

    Why did you hide this answer and marked as resolved, wtf?

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    i had a similar issue , but i realised that you're probably encountering an error in a loop, the code runs smoothly the first time but it could have an issue while running the loop again

  • Default User Avatar

    are we supposed to preserve the tab spaces in the beginning of the string or not ?
    how to deal with the spaces ?
    some solutions need the spaces removed, some don't.
    what's the rule for spaces ?

  • Custom User Avatar

    It's happening because inputs for tests are generated randomly. your solution has a bug which does not recognize some inputs correctly, and sometimes its 56 of randomly generated inputs, and sometimes its 52.

  • Default User Avatar

    when i am running the same code, it shows variable number of successful tests. sometimes its 56 successful, sometimes 52. why is that happening?

  • Custom User Avatar

    It means your solution takes too much time to solve the problem. You have to find a more efficient way to solve it.

  • Default User Avatar

    my solution works for the test but wheni attempt it , it shows the message that my solution timed out.
    it does mean that my solution is correct ...? so what do i do ?

  • Custom User Avatar

    Click reset, I see this:

    test.assert_equals(duplicate_count("abcdeaa"), 1)
    
  • Loading more items...