Ad
  • Custom User Avatar

    @ytorn I agree with you. From where I'm standing, there are only 3 few possible options:

    1. Maybe someone has mercy on us, and post a slightly larger dataset so we can debug our code (crossing my fingers on this one)
    2. Manually build ourselves a larger dataset (yikes!)
    3. Loose our honor and ask request the test cases here in codewars (My precious honor... lol)
  • Default 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.

  • Default 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

  • Default 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.

  • Default 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?