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.
my god...
I don't think this null is necessary for this problem.
easy to maintence and reality in development of the game like this
very readable
This comment is hidden because it contains spoiler information about the solution
@davorpa If you read the docs, it shows that has the null check built into it.
if (locale == null) {
throw new NullPointerException();
}
do you know the concept of null-safe methods? null is not same as empty
It's no need to check for empty string, because .toUpperCase contains this condition: https://www.javatpoint.com/java-string-touppercase
why try hard ?
Clean code, checks range. Very good!
fixed
Yup, that is the correct observation, thank you very much :)
Oh interesting! I like your solution.
some of us havent got to space/time complexity lol
I think that string formatting inside loop is slower than
stb.WriteString
. Am I wrong?Loading more items...