Skip to content

2022 humble attempt to complete the Advent of Code challenge :)

Notifications You must be signed in to change notification settings

mduqueoviedo/aoc22

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2022

My humble submission to Advent of Code 2022.

🎄 🎅 🎄 🎅 🎄 Merry Christmas and happy coding!!! 🎄 🎅 🎄 🎅 🎄

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!

The diary -- by popular petition ;)

Day 1

  • Challenge type: Array manipulation, grouping items
  • Learnings: Set up environment for the whole AoC
  • Detailed log

Day 2

  • Challenge type: Control structures, decision making
  • Learnings: Use a dictionary instead of tons of if-else
  • Detailed log

Day 3

  • Challenge type: String comparison
  • Learnings: -
  • Detailed log

Day 4

Day 5

  • Challenge type: Stack manipulation
  • Learnings: Do not waste time in parsing complex inputs 😅😅😅
  • Detailed log

Day 6

  • Challenge type: String search and manipulation
  • Learnings: Always use Set type when looking for repeated items
  • Detailed log

Day 7

  • Challenge type: ⚠️⚠️ Modelling and working in filesystem
  • Learnings: Re-learned tree datatype usage, tree nodes can be not unique
  • Detailed log

Day 8

  • Challenge type: Bi-dimensional structures
  • Learnings: Traversing in 4 directions from a specific point
  • Detailed log

Day 9

  • Challenge type: 2-dimensional maps traversing
  • Learnings: Array.fill() makes copies by reference!
  • Detailed log

Day 10

  • Challenge type: "CPU" instruction reading, screen matrix printing
  • Learnings: Do not overcomplicate yourself! (And read read read the challenge)
  • Detailed log

Day 11

  • Challenge type: 😵‍💫😵‍💫 Infinite growing array manipulation
  • Learnings: Find the mathematical way to stop the growth
  • Detailed log

About

2022 humble attempt to complete the Advent of Code challenge :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published