Activity for Wezl
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #281542 |
Can I take input in reverse order? (more) |
— | over 2 years ago |
Comment | Post #282736 |
21 bytes: `o=->n{(0...n).map &o}` (more) |
— | over 2 years ago |
Comment | Post #282736 |
alternative 27 bytes: `o=->n{(0...n).map{|x|o[x]}}` (more) |
— | over 2 years ago |
Comment | Post #281956 |
Can I take it as a string? (more) |
— | almost 3 years ago |
Comment | Post #281529 |
It doesn't recurse forever because `Array(0)` = `[]`, and `.keys()` and `.map(f)` don't do anything for empty lists (more) |
— | about 3 years ago |
Comment | Post #280372 |
Personally I prefer only requiring it to work for 1D arrays, which is simpler for most languages. (more) |
— | about 3 years ago |