Skip to content

KodAgge/Advent-of-Code-2022

Repository files navigation

Advent of Code 2022

Here are my solutions to Advent of Code 2022.

Code golf

Some of the days I have tried to solve with as few characters as possible. I try to do so by only using one line. However, for some of the days, I will import packages, effectively increasing the number of lines to two.

For a summary, see the table below.

Problem Number of characters including file name Number of characters excluding file name Execution time [ms] Imported packages?
Day 1
- part 1 130 119 0.876 No
- part 2 152 141 0.897 No
Day 2
- part 1 77 66 0.916 No
- part 2 79 68 0.901 No
Day 3
- part 1 119 108 0.900 No
- part 2 157 146 0.869 No
Day 4
- part 1 134 123 1.056 No
- part 2 116 105 1.264 No
Day 6
- part 1 98 87 1.505 No
- part 2 102 91 2.324 No
Day 8
- part 1 284 273 72.801 Yes

About

Solutions to Advent of Code 2022 with some code golf

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages