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.
Why is this marked as clever? Looping 3 times instead of a SINGLE one!?
Typescript version could use a type signature on the outline for
stairsIn20
.spoiler flag... x/
This comment is hidden because it contains spoiler information about the solution
So many operations. You can resolve it with single map. And why 10? It wasn't in task. I think it's not a best practice.
The Haskell version should probably use the idiomatic way of importing from Data.Map: