Ad
  • Custom User Avatar

    I found an interesting thing - my sorting function is working perfectly in browser, but the result differs in codewars, that's why I can't solve the kata. And this this is not a first time when results differ. Would be very thankful for any advices or explanation.

  • Custom User Avatar

    @jsalinasf, I have faced exactly the same thing, and this is the main question - how to fixed something that is not visible. No errors, no timeout, nothing. Just half of tests is correct, another half is not and you can't discover what's wrong

  • Custom User Avatar

    You cant debug with console.log() because of large size of data. I can't see neither input data (games), it looks like "... 422534 more items ]", nor output "expected [ Array(978) ] to deeply equal [ Array(978) ]". Any thoughts how to solve this if you even don't know where the problem is hidden? As it was said above, all smaller tests are passed successfully.

  • Custom User Avatar

    I'm pretty new in js, so maybe i missed something, but i have a weird problem: when i make an attempt here i have about 70% correct answers, but if i try to run the same code with same s1 and s2 locally i have all correct answers, can somebody explain what's wrong?