Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Yaay, thank you! It works!!! Cheers!
@minorgoat that should be fixed now, can you please check that again?
Thank you for your efforts! Now I tried to set up a fixed test based on a random test that failed previously and it passed. But random tests are still expecting 0.
I forked a top voted typescrpit solution. Then I edited the random tests to only produce arrays of
[4, 8, 2, 8, 6, 5, 6, 5, 2, 8, 5, 1, 9, 7]
. The modified tests passed. What that means is that the passing solutions and the random tests handle the input[4, 8, 2, 8, 6, 5, 6, 5, 2, 8, 5, 1, 9, 7]
correctly.The only way I was able to get the random tests to fail and the fixed test to work is to modify the input array in my solution.
Hi there, I think there is an issue with typescript random tests. For the input [ 4, 8, 2, 8, 6, 5, 6, 5, 2, 8, 5, 1, 9, 7 ] I logged out my result, which was correct, I think, but due to the test it was expected to be deeply equal to 0.
Issue not specified.
This comment is hidden because it contains spoiler information about the solution
congrats!
I absolutely understand and agree with your complaint. The best thing you can do is trying not to take 'advantage' of the language differences. I avoid this by always choosing the next challenge, no matter type or any other features of the languages. By the end the only thing that matters is how much you can learn.