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.
orig.append(other)
:orig
andother
have typeList
, the result is aList
that consists of all values oforig
followed by all values ofother
.Look at the examples:
Does that help?
I don't understand
The orig.append(other) method will create a list which is a concatenation of all nodes in orig and all nodes in other and which shares as many nodes as possible with orig and other (while still being a singly-linked list).
What is concatenation of all nodes?
All the values added together?
The solution doesn't work when being tested, but works when submitted that's not good