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.
Your function gets the start node of a long chain of nodes. But somewhere this chain starts to loop. You should count and return the numbers of nodes that create the loop.
This comment is hidden because it contains spoiler information about the solution
You're not supposed to hardcode the results by looking at it, instead you should deduce an algorithm that can produce the expected output! Not a kata issue!
Because you receive that info as the third argument of your function. Sorry if that's not what you asked.
I'm thuroughly confused, if additional points are actually equal to 10*(rank-activityRank)^2 then why is expected points 3 as opposed to 0 when rank and activityRank are both -8? last time i checked -8-(-8) was 0 and 0 squared times 10 is 0. Any help would be greatly appriciated
(edit) Nevermind, evidently I can't read instructions lmao
OMG
Yeah, you are right. People are just deciding to be extra and do multiple lines of code for no reason. Maybe they want to practice some other techniques?