Quantcast
Viewing all articles
Browse latest Browse all 4921

Teaching and learning resources • Re: Advent of Code 2024

The main idea was to uniquely label each region while counting its area using a depth-first search. The dog developer wrote a lot of code to scan the garden up, down, left and right looking for fence. It all looks the same to me but runs fast.
Fido got very excited about using the Aryabarka algorithm for Day 13

https://en.wikipedia.org/wiki/Ku%E1%B9%AD%E1%B9%ADaka

see also

viewtopic.php?p=2191196#p2191196

I hope it doesn't get too noisy, because I have lots of work to do marking papers for the end of term.

Statistics: Posted by ejolson — Fri Dec 13, 2024 9:17 pm



Viewing all articles
Browse latest Browse all 4921

Trending Articles