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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
nvm. got it. that's super super smart.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks, bro!
char variables store ASCII values of a character. Lowercase characters range from 97 to 122.
The only thing left is typecast char to int and receive the ASCII value;
can you tell me how it works ? what is 96?
Why the heck would the students's names be numbers?
Variables are created in any case, though you don't create them yourself and they don't appear, intermediates are needed to process the code.
This comment is hidden because it contains spoiler information about the solution
His solution is O(n) while yours is O(nlgn) :p
Approved some time ago
Gotta love arrow functions.
sorted will be delegeted to Arrays.sort() here
and Arrays.sort() is O(nlogn) which is more than
O(4n)
Loading more items...