Code Monkey home page Code Monkey logo

aoc_2022's Introduction

aoc_2022

Advent of Code 2022

My partner and I are working on Advent of Code this year to practice and have a fun activity to do together. Advent of Code is a daily Christmas theme coding puzzle.

Check out this sub-reddit for more solutions.

2022 Results

Day Part 1 Part 2
Day 1
Day 2
Day 3
Day 4
Day 5
Day 6
Day 7
Day 8
Day 9
Day 10
Day 11

Daily Log

  • Day 1: Its been 2 years since I wrote any code. Getting the env set up and fixing all my git mistakes was definitely the hardest part
  • Day 2: After thinking I would use match-case to code the strategy I quickly remembered that dictionaries are the solution to every problem
  • Day 3: Ok, maybe sets are the solution to every problem. Was maybe thinking I might code up a solution for arbitrary number of intersecting item in arbitrary groups but decided my life isn't only about AoC
  • Day 4: feeling very grateful for part 2s that are easier than part 1s. Trying to improve my code documentation as well
  • Day 5: My partner hard coded the input and saved an hour of her life. I did not. Used deque for the first time. And had to implement some tests to make sure I wasn't going to miss out on any points
  • Day 6: Some relief thank goodness. Starting to implement type hinting
  • Day 7: Took a couple days to get to it. Did some OOP and got to practice some recurssion. Now I know that using a tree structure would have been much faster
  • Day 8: numpy arrays so much easier to index for this type of thing. Reminded me of algorithms I would write in grad school
  • Day 9: back on the wagon after many days away!
  • Day 10 & 11: Fun problems, pretty addicting. Took a while to figure out part 2 of day 11 part relatively easy to implement

aoc_2022's People

Contributors

cmcneece avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.