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.
merged and approved
!
Цікавий підхід
Known CW bug, I fixed it. Thanks!
Hey, for those using TypeScript, you will need to fix the specs for the sample test to make reference a self closing tag like below
thanks, description is confusing
This comment is hidden because it contains spoiler information about the solution
Thanks, is it ok that I have both in there. I made minor changes to the javascript program since things like station were not needed.
You removed the ruby examples and replaced them with javascript, but javascript should be added to ruby (the description is shared between all languages).
You can fork and re-submit.
This comment is hidden because it contains spoiler information about the solution
Can I humbly request you change the name of the function from push to unshift or prepend? Although it is completely my fault, I did not thoroughly read the instructions, and definitely wrote it as a push method.
Awesome kata. I would like to mention that when I left a 'byebug' line in the code, the system said I completed the kata. You may want to look into why the behavior occurred
Thanks for your comment
Really challenging problem. I can't say if it is a 3 kyu or not, but definitely took me a bit to get it right. It would be interesting if you made a separate one that dealt more with efficiency. The top solution in ruby is elegant and really well thought out, but it can't handle moderately large numbers (anything in the 10 million+).
Regardless, great problem
This was really challenging, but a lot of fun. It was refreshing to having a kata that was simple to understand and difficult to execute efficiently and cleanly.
For people testing at home, I quickly wrote this to help create a randomize set of cards for testing.
Loading more items...