Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkuranowski/adventofcode2022
AoC 2022 soltution in Deno-flavored TypeScript
https://github.com/mkuranowski/adventofcode2022
advent-of-code advent-of-code-2022 advent-of-code-2022-typescript deno typescript
Last synced: 16 days ago
JSON representation
AoC 2022 soltution in Deno-flavored TypeScript
- Host: GitHub
- URL: https://github.com/mkuranowski/adventofcode2022
- Owner: MKuranowski
- License: wtfpl
- Created: 2022-12-01T05:30:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-17T07:03:11.000Z (almost 2 years ago)
- Last Synced: 2024-11-10T15:49:59.410Z (2 months ago)
- Topics: advent-of-code, advent-of-code-2022, advent-of-code-2022-typescript, deno, typescript
- Language: TypeScript
- Homepage:
- Size: 209 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: COPYING
Awesome Lists containing this project
README
See for a list of tasks.
This time: TypeScript and the Deno runtime.
Day-specific notes:
- Input format for day 5 has been turned sideways, for easier parsing.
- Day 16 was completely fucked up. Especially for part B,
which is a brute force in order of 2**16, I needed the code to run as fast as possible.
That's why it's written in Rust, while a small part (graph "compression") is written in TS.Still, the solver for part 2 needs 6 seconds to run, at least on my modern PC.
- Day 22 - very elegant solution for part B (/s), I'm assuming everyone gets a different net?