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.
That's not the input of the test your code fails. Not a kata issue.
JS: I have a problem with '6F43E8'. The test doesn't work right at attempt stage, please fix the test.
I throw error of false - it doensn't pass.
Fixed it, Thanks
The reason why your code fails apparently only on one test is because tests are very weak. This code should fail on several cases. It is clear according to the description that this is not a valid ticket, isn't it? You should try to print how you actually split the string...
Damn dude, thanks for the tip man. that was so sneaky
Print the input with this:
console.log(`"${ticket}"`);
This comment is hidden because it contains spoiler information about the solution
Yea my bad dude misunderstood the question will fix it.
Translated into C++, if you want to approve it.
Your code being wrong is not a kata issue, 37.169.194.192.121.48.180.138 is newer than 37.169.194.192.121.4.94.170
Should be fixed in Rust.
Not Sure if some JS tests are working or not as i have checked the failed test cases should have passed.
Comparing after splitting the array at "." 138 is less than 170 so should return false but the test says : 'expected false to equal true' Let me know if its a issue from my side or the test itself. Thankyou
loop 37 37
loop 169 169
loop 194 194
loop 192 192
loop 121 121
loop 48 4
loop 180 155
loop 164 94
loop 138 170