Advent of Code '21
My solutions to this years Advent of Code challenge written in Swift.
Content
- Day 1: Sonar Sweep
solution
- Day 2: Dive!
solution
- Day 3: Binary Diagnostic
solution
- Day 4: Giant Squid
solution
- Day 5: Hydrothermal Venture
solution
- Day 6: Lanternfish
solution
- Day 7: The Treachery of Whales
solution
- Day 8: Seven Segment Search
- Day 9: 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
Usage
You can quickly build & run the solutions from command-line.
$ swift day-01.swift
Output:
--- Day 1: Sonar Sweep ---
Solution: 1521
--- Part Two ---
Solution: 1543