Skip to content

narimiran/AdventOfCode2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2021

All my Advent of Code repos:

 

This year it is back to roots - Python!

I'll probably add solutions in other languages on some later date.

Solutions

Task Python Solution Comment
Day 01: Sonar Sweep day01.py (a + b + c) < (b + c + d) --> a < d
Day 02: Dive! day02.py "Up, up, down, down, left, right, left, right..."
Day 03: Binary Diagnostic day03.py from collections import Counter
Day 04: Giant Squid day04.py Set operations (<=, -) to the rescue.
Day 05: Hydrothermal Venture day05.py TIL defaultdict is faster than Counter.
Day 06: Lanternfish day06.py Recursion with memoization.
Day 07: The Treachery of Whales day07.py Mean mean!
Day 08: Seven Segment Search day08.py Using Python 3.10 and pattern matching.
Day 09 day09.py
Day 10 day10.py
Day 11 day11.py
Day 12 day12.py
Day 13 day13.py
Day 14 day14.py
Day 15 day15.py
Day 16 day16.py
Day 17 day17.py
Day 18 day18.py
Day 19 day19.py
Day 20 day20.py
Day 21 day21.py
Day 22 day22.py
Day 23 day23.py
Day 24 day24.py
Day 25 day25.py

Releases

No releases published

Packages

No packages published