Discussion thread for day 10 of the Advent of Code : https://adventofcode.com/2020/day/10
@patrick_digan thanks, I now realise it was completely redundant if you see my second soln. and it should generalise to if there were 2-jumps as well.
Well part A was easy!
Went the macro route because I couldn't think the non-macro way for part II. Should work for random jolt diff (of 2 or longer) or as well. The main limitation I see is the number of steps between the checkpoints should not be massive (or the iterative could be heavy, it's ok for the current dataset).
Is it cheating that I had to read through the reddit too to understand the trick of part two?
Still macro-less on the challenges....