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.
fixed. i missed that when i upgraded the tests to Ruby 3.0, as it is not explicitely stated in the description and "rank" has a specific meaning on Codewars (you have a hidden "rank score" integer on Codewars that you can see only using the API and that is distinct from your honor. the rank score only progresses when you solve katas, while honor can also be gained from translating and authoring, so the two are not always correlated).
Why are there so many exercises with poor descriptions?! WTF
English is not his first language
hi look
Translation Dart
Since this Kata has been/will be adapted to languages where going out of bounds throws or invokes undefined behavior, the description should explicitly note that
n
can be larger than the array's size. It's 8kyu, so I think we should give the solvers some grace and have them pre-emptively handle edge cases instead of flying into exceptions or crashesLua translation!
This comment is hidden because it contains spoiler information about the solution
There's a trade-off here, which for a 6 kyu could well fall in the direction of conciseness.
Let's close it.
(commenting here because i upgraded to Node 18 + chai)
is this still relevant ? the author's solution is probably buried somewhere in the Solutions page at this point. are you arguing that
{ 3:3 }
should be written{ '3':3 }
in the sample tests ? that makes the object literals more verbose for no good reason, in my opinion. it's maybe confusing for beginners, but learning that all object properties are (implictely coerced to) strings has to come at one point or anotherdone and done
approved
Fixed (along with C translation warning) in this fork. Please approve.
Nice
Great 8kyu exercise, link was useful to get a larger scope of the function.
Who needed to read that long document?
Loading more items...