Post History
APL (Dyalog Unicode), 11 bytes (SBCS) 1 1∘⍉+\∘.=⍨ Try it online! This was a fun APL exercise. Working on figuring out how to get it down to 7 bytes.
Answer
#1: Initial revision
# [APL (Dyalog Unicode)], 11 bytes (SBCS) <!-- language-all: lang-apl --> 1 1∘⍉+\∘.=⍨ [Try it online!][TIO-knmarq5p] [APL (Dyalog Unicode)]: https://www.dyalog.com/ [TIO-knmarq5p]: https://tio.run/##SyzI0U2pTMzJT///31DB8FHHjEe9ndoxQFrP9lHviv@P@qY@apuggEUKJKZgBIaGYGisYMyFR7mxgrmCqYKJgiVQgzEQmymY/QcA "APL (Dyalog Unicode) – Try It Online" This was a fun APL exercise. Working on figuring out how to get it down to 7 bytes.