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.
Performance is an important aspect in programming.
A solution with a loop (while) causes the processor to iterate several times through the loop and every iteration takes time.
If you find a solution without a loop you will have better performance.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Citation: "Thanks to shadchnev, I broke all of the methods from the Hash class."
That means the Hashtable and GetHashCode won't work or is slowed down, right?
I failed in C# because of time outs. Then I limited the maximum amount of nodes to 1000 in the loop to see if I find the problem in the response with a return 0. It is expected to find over 700.000 nodes in a loop so I think we have time out issues with that.
This might get a record for the most complicated solution. I should solve something like that more mathematically, honestly. I am dissatisfied with myself with this solution.