Skip to content

Andriamanitra/adventofcode2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My solutions to Advent of Code 2022

I am mostly using Ruby this year. The primary solution for each day will be in a file called solution.rb inside the directory for that day. These solutions use a common base (from lib/base.rb) that imports some useful standard libraries by default and monkey patches a few methods. The base class implements reading input as a string from the input.txt (and example.txt if it exists) file, running the solution, and printing/formatting the output.

Some days may include additional implementations in other languages such as Haskell or whatever else I felt like writing that day.

Previous years:

  • 2017 (different language every day)
  • 2018 (various languages)
  • 2019 (julia)
  • 2020 (crystal)
  • 2021 (various languages)