upvote
Algorithms are integral to programming. Algorithms + Data Structures = Programs, as Niklaus Wirth put it in the title of his famous book.

Coming up with the right algorithm is what people usually find the most interesting about programming puzzles.

reply
For some problems it's not feasible to just "come up" with the required algorithm. Specially the later ones.

Some of them are very specific. You either remember it if you had the chance to stumble upon them during your studies or you research the specific math required to solve it.

Maybe I have the wrong expectation but I would like for all of the challenges to be feasible without heavy math.

Take this for example: https://adventofcode.com/2019/day/22

You are given a deck of over 119 trillion cards and must shuffle it over 101 trillion times using three specific shuffling rules, then find which card ends up at index 2020.

Simulating the deck in memory is impossible. You need modular arithmetic and maybe linear congruential functions to do it.

That doesn't sound like "Advent of Code" to me.

For https://adventofcode.com/2023/day/18 I needed the help from a mathematician friend of mine who hinted me at gauss's area formula.

Maybe Advent of Puzzle would be a more apt name.

reply
In my mind coding and algorithms are one and the same, so I wonder what you had in mind that you think would better fit the title.
reply
It is more of a math challenge than a code one I'd say. It's similar to hacker rank in that the outcome is generally binary. You either know the obscure formula or algorithm being hinted at and it's trivial or you don't and it's nearly impossible. It's admittedly harder to implement a coding challenge where you point people more directly to the answer, so I understand why most are like this.
reply
deleted
reply
Advent of programming doesn't have the same ring to it. AOC is fine, it's hardly an issue
reply