My answers to AdventOfCode2023
Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as interview prep, company training, university coursework, practice problems, a speed contest, or to challenge each other.
https://adventofcode.com/2023/about
Learned a new algorithm : Recursive Binary Search for ranges (Reddit comment)
Why I failed : I did not check if the ranges did not overlap, so I tried to map naively 1:1 for each transform list.
Learned a new algorithm : LCM (Reddit post about the reasons it works for this problem)
Why I failed : I did not check if the mapping was looping and hence, did not think about any clever way to resolve the second part of this problem.
Learned a new algorithm : Next element in a sequence