Skip to content

MKuranowski/AdventOfCode2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

See https://adventofcode.com/2022/ 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?