OlehKorchytskyi / swift-aoc-2023

Solving Advent of Code 2023 challenges in Swift.

Repository from Github https://github.comOlehKorchytskyi/swift-aoc-2023Repository from Github https://github.comOlehKorchytskyi/swift-aoc-2023

Advent of Code 2023

This project showcases my solutions for each day's challenge in Swift.

Project Structure

  • 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.

How to Run

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

Acknowledgments

This project is based on the template from swift-aoc-starter-example. Special thanks to the contributors for providing a solid foundation.

About

Solving Advent of Code 2023 challenges in Swift.

License:Apache License 2.0


Languages

Language:Swift 100.0%