REMEMBER!
It is VERY important NOT to write any public spoilers
ALWAYS keep spoiler stuff hidden inside one of these
Summary
This text will be hidden
which you can obtain by clicking on the gear icon
Good luck
FYI one of the features of Advent of Code is that we all get given different inputs so our answers will be different.
The examples are all the same but each of us gets different inputs for us to solve
Part 1 was honestly pretty easy, and I was actually surprised at how fast it ran due to a bunch of recursion (although I figured out how to find the pattern using hyperblocks).
I was very glad to know that I didn't need to remove the last element from the list. Of course I did make an optimization, instead of going until all the differences are 0, it just goes until they're equal. I decided to do this because if they're equal, the difference will be 0. It just removes an extra unnecessary step.
Part 2
I just modified my code from part 1 to work for part 2. Glad it was such a simple edit.