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.
Try to run this test -> yield return new TestCaseData("man i need a taxi tbwi up to ubud").Returns("taxi");
It was so easy though ????
Learned a lot. Thanks.
Agree, it was suprisingly rich, for such an easy task. :-D
just finished C#. Works great.
i learned is_integer() function, python
Not the best place to start. This cata is not easy. As for me - I always try to figure out myself. As for the tests - that's the point. Passing 1 test is easy. Passing all is hard and teaches you to think ahead solving every possible condition.
Easy way to get help on solving a kata is to join this on gitter and ask what every questions you have.
This is the first Kata challenge I've tried to solve, so I'm still getting used to the rules of engagement on codewars.
It appears you need to pass 100% of the test cases to move to another challenge. I'm so close to solving this challenge, my current solution has passed all but 2 of the test cases. I've spent a enough time on this where I want to get some help. What do people do people normally do when they're so close but can't get every test case passed?
Do people ever post their current solution and get feedback from the discussion channel?
I dont see where you check max to be even.
UPD. oh my mistake. didnt count for int.
If you were mutating the array, then the tests were generated improperly, Now the tests are corrected to be generated correctly
alright ! corrected towards beginner friendly :D
no, but it doesn't change the fact that your random tests can be created inaccurately if we mutate the array in our code. As I said, many beginner programmers will probably not be able to catch that as the issue, get frustrated and just mark down your kata as not well created.
your soultion can't pass, can it ? Because, Some fixed tests are there to tackle potential cheat solutions.
I don't think that the issue has been resolved. Since this is a 7 kyu challenge many beginner programmers will probably get frustrated by the misleading test cases. Perhaps you could do this instead to produce more reliable tests:
Loading more items...