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.
The equalsIgnoreCase method would be appropriate imho
tf is this
Why didn't i thought of using switch...
i forgot about exeptions.. thanks
No, it will fail with an
ArrayIndexOutOfBoundsException
.First comment I've left on this website; nice job
"You will be given a list of strings. You must sort it alphabetically ...
You should not remove or add elements from/to the array."
This comment is hidden because it contains spoiler information about the solution
I'm wrong or this code change the original Array? 🤔
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Of course, that is the very definition: "They usually are not code that you would want to put into production"
you know is WAY slower than just comparing elements and substraction right?
I mean sometimes "clever" is not the right answer
Codewars could have a button for bad solutions
Thank you. I've got it.
Loading more items...