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.
It's a hardcoded solution.
I have 2 different solutions with 27...
too long an complicated :-) see my fork
The last one can be golfed further, although it's already the shortest
Only the most simple example (
[1, 2]
) is detailed in the description, which doesn't seem to be sufficient. Or maybe I'm just getting old and senile, and don't understand the task after solving 3000+ katas here...Smart solution, but can be cleaned up a little: see my fork
"..........se"
,"l.........."
and similar edge cases don't make much sense, as they result in an "empty" view.:-)))
Wrong: you cannot store double values in a dictionary. Just fork my solution and try it.
Cheers
Don't we have already enough Caesar cipher katas? (= duplicate)
Yes, you can chain as many as you like
Nice solution, but fails for e.g.
"4.1M ohms"
Anyway, it was fun to golf :-)
Add
[Code Golf]
to the kata titleThis comment is hidden because it contains spoiler information about the solution
Loading more items...