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.
The
push
function is created in the very first part of this series: Linked Lists - Push & BuildOneTwoThreeIt's not neccessary in this kata, so the information (which was copy-pasted from other parts of this series) is simply distracting.
Alright, now I get what "This description is shared between all languages" means...
Thanks for clearing that up!
I don't think the ruby example would add anything useful to the description now, so I completely reverted my changes in the description.
Hi Lysann, thanks for contributing to this Kata!
Unfortunately there is currently not way to have custom descriptions for each language, so it's probably better to keep the description as is (using JavaScript conventions and syntax as the default). This is consistent with all of the other linked list kata.
Please remove all description changes except for the addition of the ruby snippet (you can leave that in and I'll approve this translation);
```ruby
insert_nth(1 -> 2 -> 3 -> nil, 0, 7) === 7 -> 1 -> 2 -> 3 -> nil)
insert_nth(1 -> 2 -> 3 -> nil, 1, 7) === 1 -> 7 -> 2 -> 3 -> nil)
insert_nth(1 -> 2 -> 3 -> nil, 3, 7) === 1 -> 2 -> 3 -> 7 -> nil)