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.
nice spot, fixed
Description changed.
The algorithm terminates when original string has a length less than 2.
This comment is hidden because it contains spoiler information about the solution
Additionally, the return value is unspecified if all of the letters are shared between the two names (such as LIAM/MILA, CLAY/LACY, ROAN/NORA, etc.).
Based on the reference solution,
"Siblings"
should be returned, but the description uses 1-based indexing, meaning that an index of0
should be undefined.I guess this can be closed.
Python translation removed. Performance kata's like this can't be balanced in Python. Builtins are too fast and can easily work around expected algorithms. Allowing these builtins makes it impossible for me to make this a 4 kyu problem in Python.
Python translation added. Let me know when you have solved it. If your solution is faster, I'll need it as a reference solution and I might increase the performance constraints a bit more.
ah ok I'll check it out; here are two kata's to keep you busy in the meantime:
I believe I tried it once, but got horrible performance. I might give it another shot.
its's still in beta, you may invalidate all solutions if it's better for the kata
I agree that it would be better, but is it worth changing after this many solutions?
I'm willing to do it if you approve of it, though I may mess something up with Java.
How can I provide a link to a specific solution? I am rather new to this Codewars website.
Please provide links to your "unique" solutions to 1kyu and 2kyu kata. I looked for them and instead found more code you copied from ChatGPT.
My judgement is based on the behavior you exhibited here: You mindlessly copied a useless and incorrect answer from ChatGPT. That's dishonest and lazy. ChatGPT didn't even understand lechevalier's point, and neither did you. If you keep using AI in this way, it will only make you dumber.
Loading more items...