This project showcases my solutions for each day's challenge in Swift.
Sources/Data/Day##.txt
: the input data provided for the challenge;Sources/Day##.swift
: the code to solve the challenge;Tests/Day##.swift
: unit tests for par1 and part2 of the challenge.
To run the solutions, you can use the following command:
swift run AdventOfCode <day> [--benchmark]
For example, to run the solution for Day 4 with benchmarking:
swift run AdventOfCode 4 --benchmark
This project is based on the template from swift-aoc-starter-example. Special thanks to the contributors for providing a solid foundation.