Last active
December 7, 2022 20:58
-
-
Save ElectricCoffee/6c24ddf44a56473b726050b9e0576ebf to your computer and use it in GitHub Desktop.
My solution for the Advent of Code day 5 problem in APL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Solution ← {¯1+⍺+⍺⍳⍨≢¨⍺ ∪/⍵} | |
⍝ Or with ⎕io ← 0: | |
Solution ← {⍺+⍺⍳⍨≢¨⍺ ∪/⍵} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment