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.
You should have map.size()==2.
Are you kidding? The description explicitly says you can use
.getNext()
to get the next node.I have to agree. I'm a developer and I understand data structures but a node is one of the most abstract data types of them all. Without the interface somehow being exposed, or without one even being told what the public methods are here, I can see how code warriors could spend hours guessing as to what the operations to call on a node are to solve this problem. I think this Kata is an over simplistic one artificially made to be more difficult in providing the least information as possible about the ADT it wants you to work with. However, in this case I do believe that a little research goes a long way if one doesn't already have an understanding of what a node is and how to use it.