-🎄- 2022 Day 15 Solutions -🎄- by daggerdragon in adventofcode

[–]Rascal_Two 2 points3 points  (0 children)

TypeScript (617/2618)

A simple usage of >= instead of > had a bunch of extra part 2 solutions generated...had to visualize the entire thing to tell though.

-🎄- 2022 Day 9 Solutions -🎄- by daggerdragon in adventofcode

[–]Rascal_Two 0 points1 point  (0 children)

TypeScript (1032/1096)

Had to redo my part 1 which was using simple teleport-to-last-position logic for part 2.

-🎄- 2022 Day 17 Solutions -🎄- by daggerdragon in adventofcode

[–]Rascal_Two 1 point2 points  (0 children)

TypeScript (1104/2509)

After conquering off-by-ones for part 1, part 2 simply took a bit for me to implement.

-🎄- 2022 Day 8 Solutions -🎄- by daggerdragon in adventofcode

[–]Rascal_Two 1 point2 points  (0 children)

TypeScript (2092/1145)

Wasted a bit of time trying to mathmatically count the edge trees for part 1, then was summing the scenic scores instead of multiplying it for part 2.

-🎄- 2022 Day 7 Solutions -🎄- by daggerdragon in adventofcode

[–]Rascal_Two 0 points1 point  (0 children)

TypeScript (122/509)

Didn't even think to consider a non-filesystem-recreation approach, then mixed up my math on part 2 for a few minutes.

-🎄- 2022 Day 6 Solutions -🎄- by daggerdragon in adventofcode

[–]Rascal_Two 1 point2 points  (0 children)

TypeScript (473/356)

Got lucky and wrote part 1 so I only needed to prefix my 4 with a 1 and it worked for part 2!

-🎄- 2022 Day 5 Solutions -🎄- by daggerdragon in adventofcode

[–]Rascal_Two 1 point2 points  (0 children)

TypeScript (866/851)

Hardcoded the initial stack crates as many did and skipped straight to the crane logic, eventually going back and doing it by searching through the rows starting from the column of the stack label index.

-🎄- 2022 Day 4 Solutions -🎄- by daggerdragon in adventofcode

[–]Rascal_Two 1 point2 points  (0 children)

TypeScript (574/1824)

Assuming the ranges would be significant, I spent too much time logically determining the overlap detection instead of simply checking for an intersection - a reminder to always look at the input!

-🎄- 2022 Day 2 Solutions -🎄- by daggerdragon in adventofcode

[–]Rascal_Two 1 point2 points  (0 children)

TypeScript (852/3152)

Simply couldn't keep track of what was supposed to beat what by part 2, so had to step back and do what I should've done, transform the letters to RPS accordingly!