My humble submission to Advent of Code 2022.
If you stumble here, let me give you a piece of advice :)
Some people don't want to share they are participating in AOC, precisely because other fellow devs say stuff of the sort of "If you are having trouble with this or that AOC challenge, you are not a good developer!".
Please. Do us all a favour and don't be that person.
PS: If I were to listen to that, I can tell you I am not a good developer either. Join my club!
- Challenge type: Array manipulation, grouping items
- Learnings: Set up environment for the whole AoC
- Detailed log
- Challenge type: Control structures, decision making
- Learnings: Use a dictionary instead of tons of if-else
- Detailed log
- Challenge type: String comparison
- Learnings: -
- Detailed log
- Challenge type: Long conditionals
- Learnings:
- Detailed log
- Challenge type: Stack manipulation
- Learnings: Do not waste time in parsing complex inputs 😅😅😅
- Detailed log
- Challenge type: String search and manipulation
- Learnings: Always use Set type when looking for repeated items
- Detailed log
- Challenge type:
⚠️ ⚠️ Modelling and working in filesystem - Learnings: Re-learned tree datatype usage, tree nodes can be not unique
- Detailed log
- Challenge type: Bi-dimensional structures
- Learnings: Traversing in 4 directions from a specific point
- Detailed log
- Challenge type: 2-dimensional maps traversing
- Learnings:
Array.fill()
makes copies by reference! - Detailed log
- Challenge type: "CPU" instruction reading, screen matrix printing
- Learnings: Do not overcomplicate yourself! (And read read read the challenge)
- Detailed log
- Challenge type: 😵💫😵💫 Infinite growing array manipulation
- Learnings: Find the mathematical way to stop the growth
- Detailed log