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.
There seems to be an issue here. My code fails the example test, but passes the 40 random tests. Tried in Python 3.11 and 3.10.
I am pretty new to this. Working in JS.
I read about singly linked lists and tried to return some of the attributes, like length, head, node but I'm always getting "undefined" or an error. I would like to understand SLL, but whenever I use anything I read in the tutorials, I am basically hitting a brick wall here. Any tips? (I read the Wikipedia link and a few others)
I think I understand :) Thanks!
Sorry, I don't think I understand. I did understand that I should use "throw" instead of "return" and I tried using strings, numbers, true/false, but I always get "No/wrong exception message...
Value is not what was expected". Note that I have just found out about throw and that I don't yet have a clear picturea as to why do we really need it :)
Run Test : All good. Expected error was thrown.
Attempt : No error message.
Wth?