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.
I would argue that in this particular scenario the Stack Class its perfect; From the documentation itself "A more complete and consistent set of LIFO stack operations is provided by the Deque interface and its implementations, which should be used in preference to this class.", yet in this scenario all of the extra features available with Deque will not be used, a simple stack data structure is more than perfect for this scenario.
Duplicate issue below
Can't be changed.
Definitely 4 kyu.
When I completed back in the day it was 3 kyu.
I tried to change to 4 kyu seeing that you have 13 upvotes and someone saying that 3 kyu is too much has -2.
Unfortunatelly only an admin can change this Kata right now
I think so,aha
No, check again the two examples, the first one has the numbers incrementing from left to right and from top to bottom, the second (the one you posted) is ordered like the snail would pass through (starting from top-left cell). Use question if you're confused.
Thank you! About
#to_i
- indeed, had C++ in my mind by the time :)Thankyou Mr Pig.