Skip to content

andrewlow/adventofcode-2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2020 https://adventofcode.com/2020

My attempts to participate.

I've included my code solutions - so spoiler alert - if you go looking you will find code solutions. I am not sharing the puzzle data, only the sample data for the puzzles.

Notes

  • Day 1: Great start, reading files, doing math. N cubed.
  • Day 2: Basic string processing
  • Day 3: Building the right in memory representation is key
  • Day 4: Regex fun. Having the right debug statements helps a lot
  • Day 5: Mapping results to internal bitmap
  • Day 6: Python set functionality saves the day (overlap)
  • Day 7: Parsing and recursion.
  • Day 8: State machine.
  • Day 9: Not really crypto.
  • Day 10: Brute force won't work, need to use combinatorics
  • Day 11: Game of life
  • Day 12: Got stuck on part 2, needed to reference another solution
  • Day 13
  • Day 14: Bit masking fun.
  • Day 15: Intresting performance trade off of data structure used
  • Day 16: Dictionary abuse.
  • Day 17:
  • Day 18: Calculator. Easy if you pick the right bracket parsing approach
  • Day 19
  • Day 20
  • Day 21: Fun with sets. Also, super messy code. Oh well.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages