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.
Hi, I'm definitely missing something, so could someone please clarify? -
If n is calculated by the first name length + rank of each letter in the name, why is n provided as an argument in the function?
I would think we would get the string argument, weights argument and then calculate n ourselves, using it to calculate the 'winning number'...
Thanks for your help
toofarm, can you explain what you changed? I really don't get what flipped expected values mean. Why would my code work for all sample tests and then fail for every random input.
Same here, returns and logs correctly on my machine, but returns 'undefined' when attempting.