Ad
  • Default User Avatar

    very straightforward, like it

  • Default User Avatar

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

  • Default User Avatar

    yes, maybe test is fine, but why result in "instead got:" is different from result i got in Chrome console or any other environment?
    how it can be considered as my failed function?)

  • Default User Avatar

    there is 100% bug in test procedure in random tests (or this environment trouble maybe): 'Test' was fine but 'Attempt' failed.
    i have double checked my function on codesandbox and jsfiddle with the parameters (array and k) of one of the failed tests (Passed: 186 and Failed: 23 on average). And result was the same as "Expected:" in Log output, it was the same string! But result in "instead got:" was completely different.
    is there a way to check my function or report a bag on that test?

  • Default User Avatar

    so i've traced one of the failed cases, than run it on the codesandbox and got the correct result (as in 'Expected:' in log),
    but in Log in 'instead got:' i have completely different result
    i totally confused now..

  • Default User Avatar

    I've passed the TEST but failed on ATTEMPT
    can i see what exact test-case has crashed?