Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

NaNomicon/aoc-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aoc-2024

My really late and really janky attempt to solve Advent of Code 2024

Install dependencies to run the code

pnpm install

2025-01-09 (~60m)

Part 1

pnpm day1_1
#> 1889772

Part 2

pnpm day1_2
#> 23228917

2025-01-10 (~1h30m)

Part 1

pnpm day2_1
#> 660

Part 2

Brute forcing, I'm not proud of it, but it's not that bad.

pnpm day2_2
#> 689

2025-01-13 (~30m)

Well I prompted my AI to generate the regex. Who write their own regex anyway?

Part 1

pnpm day3_1
#> 174561379

Part 2

pnpm day3_2
#> 106921067

2025-01-14 (~60m)

Part 1

The logic might be right, but the comments are probably wrong.

pnpm day4_1
#> 2567

Part 2

A lot of hard coded logic, I guess I was just bored in the middle of the solution.

pnpm day4_2
#> 2029

About

My attempt to solve Advent of Code 2024

Topics

Resources

Stars

Watchers

Forks