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.
Oops. You're right lol, it was doing a prepend instead of append.
Nice Kata btw!
Now getting this, and not sure what they mean:
Test Failed: Append puts this first (a)
Test Failed: Append leaves argument untouched.
So if I have:
l1 = (a b)
l2 = l1.append(l1)
l2 would be (a b a b)
But doesn't this create a loop in the linked list if it were to share the same node instances? The 2nd b's next points to a, therefore the last b's next would point also to a ? Or... am I doing it wrong? :)
great kata! Enjoyed solving it, although mine is not the most elegant solution.
Nevermind, forgot the 'and' lol. Great kata!
Keep getting: "Test Failed: Expected: 4 years, 68 days, 3 hours and 4 minutes, instead got: 4 years, 68 days, 3 hours, 4 minutes"