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.
Immeaditely when to split, how did I not think of replace?
You don't get bonus points for hallucinating new problems, so why bother?
Smort
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You are not right, beacuse the words have different lengths...
The one letter word 'i' should score 9.
The two letter word 'be' should score 7.
If you don't take away the 96, you would get 105 for 'i' and 197 for 'be'.
Newbie stoopid question here: It's really necessary the "-96" part? I mean, they're asking for the word, not for the score. The high score word will be ever the same proportionaly as all characters has +96. I am right? Thanks.
Great response! Only issue for readability is not having the same number in the prompt in the code. Then again, it's simple enough it's not an issue
it looks nice, one liner.
I personnaly prefer manually iterating each letter to reduce complexity
this is my first solution. but i feel it is O(5n) and with simple for .. you can do it just O(n)
TIL
this solution is doing unnecessary operation
What do you mean by chunks? Chunks variable in his code is a list, which you also used for the same purpose in your code.
So creative! Never thought of it that way.
fails with third+ level domains starting with wap/www[0-9]/etc
Loading more items...