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.
This comment is hidden because it contains spoiler information about the solution
I'm looking at this, and honestly... I have no clue what's being done on the second line before the :
So glad there was no dogwhistle numbers at the end of this.
This could work for even occurences too. found = 1.
This is exactly how I first wanted to solve it! But if a guy had 3 names, it would be first and middle name letters, so I abandoned it and made a huge mess instead...
Yeah, in the end I got it!
Well, seems you got it after all! Hope you had fun :)
I like this a lot, very creative bugs that gave me a chuckle when I finally found them!
I had no idea there were 8 kyu challenges! I'll start getting used to the search function and come back to this later.
Thanks!
When you are looking for specifically easy challenges to get familiar with Codewars platform, you can use the search page, filter for only white kata, and sort by "Most completed", like here.
It's not mislabeled. Perhaps this kata is just a bit harder for you personally than 7 kyu. I suggest you try other kata's and come back to this one after some time.
Bug fixing challenges are a bit specific kind of task. It is ranked as 7 kyu, because the final code with all bugs removed is fairly simple. But finding the bugs, getting through the specs, debugging the cause of failures, this can indeed be challenging, especially for people not experienced with working with a non-working (huh) code.
Remember that what you need to fix is always the "Solution" snippet. You can use the "Example tests" code for your own convenience and testing, but changing it will not bring you closer to solution. And you can always come to Codewars Discord for help with any challenge, not only this one.
Super cool challenge. But is it really 7kyu?
It's my first challenge, and I choose a 7kyo because it was the easiest level I could find among the ones recommended to me.
I made some progress by editing what I later found out was the test for my solution, so I undid that and I now have no idea what to do, despite having tried things for over an hour. Should I go back to school or is this test possibly mislabeled?