Unable to load image

rDrama Advent of Code Day 8: RegEx Bootcamp Edition

Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!

Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app

What did you think about today's problem?

https://adventofcode.com/2023

Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)

40
Jump in the discussion.

No email address required.

>still outside the top 5

:#marseyrain:

⎕PP←20
D←≢d←⊃r←⊃⎕NGET'8.in'1
k l r←↓⍉↑(∊∘⎕A⊆⊢)¨2↓r ⋄ lr←l,⍥⊂¨r
i←1 ⋄ s←0
x←{j←⍸k∊⊂⍵ ⋄ q←1+'R'=i⊃d ⋄ i⊢←1+D|i ⋄ q⊃j⊃lr}
x⍣{s⊢←s+1 ⋄ ⍺≡'ZZZ'}⊢'AAA'
⎕←s
⎕←^/{i←1 ⋄ s←0 ⋄ _←x⍣{s⊢←s+1 ⋄ 'Z'≡3⊃⍺}⊢⍵ ⋄ s}¨k⌷⍨⊂⍸∊'A'=¯1↑¨k
Jump in the discussion.

No email address required.

The leaderboard is pretty impressive %age wise, wonder when it drops off

Jump in the discussion.

No email address required.

Last year the largest drop-offs were after days 11 and 15

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.