Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
For AoC problems involving a grid, I often use a map/dictionary with 2D coordinates as keys. For example, my Raku solution for day 13 uses x,y strings as keys. I've also used a Pair class in other languages. And if you know how long the rows are you can always implement a 2D array as a 1D array with indexes like arr[row * SIZE + col].
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.