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.
apparently, it being null just breaks the entire thing similar to comparing Boolean to its primitive variant
This comment is hidden because it contains spoiler information about the solution
You can select Java 17 on CodeWars for your solution.
This comment is hidden because it contains spoiler information about the solution
thanks!
This comment is hidden because it contains spoiler information about the solution
That's Java 11 or later
This comment is hidden because it contains spoiler information about the solution
Is checking for null or returning string smaller/equal 4 must have?
I did code like this and it has no error with empty string and properly showing 1-4 character strings
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Ah interesting I had no idea that existed
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...