Skip to content

Solutions to Advent of Code 2021 in Swift

License

Notifications You must be signed in to change notification settings

leifgehrmann/advent-of-code-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

advent-of-code-2021

My attempts at the Advent of Code 2021 challenges.

Solutions

  • Day-01-Sonar-Sweep
  • Day-02-Dive
  • Day-03-Binary-Diagnostic
  • Day-04-Giant-Squid
  • Day-05-Hydrothermal-Venture
  • Day-06-Lanternfish
  • Day-07-The-Treachery-of-Whales
  • Day-08-Seven-Segment-Search
  • Day-09-Smoke-Basin
  • Day-10-Syntax-Scoring
  • Day-11-Dumbo-Octopus
  • Day-12-Passage-Pathing
  • Day-13-Transparent-Origami
  • Day-14-Extended-Polymerization
  • Day-15-Chiton
  • Day-16-Packet-Decoder
  • Day-17-Trick-Shot
  • Day-18-Snailfish
  • Day-19-Beacon-Scanner
  • Day-20-Trench-Map
  • Day-21-Dirac-Dice
  • Day-22-Reactor-Reboot
  • Day-23-Amphipod
  • Day-24-Arithmetic-Logic-Unit
  • Day-25-Sea-Cucumber

A solution was found, but only by iteratively solving the puzzle piece-wise and inserting the results back into the code, essentially hard-coding the solution. It also performs sub-optimally, taking dozens of minutes to execute.

Attribution

About

Solutions to Advent of Code 2021 in Swift

Topics

Resources

License

Stars

Watchers

Forks

Languages