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.
spread is in O(n) time which is eclipsed by the 2 for loops running anyway. I probably could have called "includes" on the original set of WORDS in the last if statement but I didn't spend the time improving the efficiency or looking for a better way to confirm the word is available in that set. I was happy I figured this one out and called it a day. This works pretty fast anyway because it searches through words in WORDS that are sorted by the same letters in the word being checked after being filtered by length of the word being checked.
I'm not sure, but it seems ...spread is an expensive operation, especially for such large dictionaries
Our solutions "pair" up nicely, twins if you will. 🤣🤣
Lol, yeah I don't vote for kata as often as I should but this one is totally getting one!
How come there isn't an extremely satisfied button to vote for kata?
Awesome idea!!
Thanks for letting me know. I'll definitely read the docs and do my research before posting the next one. Authoring katas let me approach it differently and exposed me to testing so I'll keep trying.
I guess the other one I've been working on isn't going to fly either. It's like the counting change katas but all medieval styled and has special denominations.
Thanks for the advice!
It is a cool one. Just been done before, that's all. And it's up to an author to carefully search the database for kata ideas that have already been done before, and that sometimes is not easy. For in this case, I searched under "cipher", but still didn't locate a kata that I had already translated to C. Most typical ideas have been covered, so it's not easy coming up with something new. Best of luck!
Hi, thanks for letting me know! awesome solutiong btw
aww, dang it. Thought it was a cool one! Thanks for letting me know.
I meant https://www.codewars.com/kata/573d498eb90ccf20a000002a :P
https://www.codewars.com/kata/55f07ddd97090cf03300006b
Hi,
No random tests
If you're interested in authrogng kata, you should read the docs before your next attempt at it. ;)
Cheers
I don't remember what the kata is called, but there is this exact kata already on codewars, so you should unpublish this one.
Too late to change.
Loading more items...