+| [24](24/index.ts) | [TypeScript](https://www.typescriptlang.org/) | ⭐⭐ | [Replit](https://replit.com/@janschaefer0/AdventOfCode202324) | [ChatGPT](https://chat.openai.com/share/c84b3a44-f16c-4cac-8887-d67a93c51a1b) | Typescript is the language that I used the most lately so I am quite familiar with it. As it is basically Javascript, the code is not much different to plain Javascript code, except for some type annotations. The puzzle, especially Part 2, however, was ridiculously hard. I tried over 7 different implementations. And even the final one now requires the use of math.js to solve a set of equations. I would really love to know what the easiest solution to this puzzle is. This was the only time I made use of a library for solving a puzzle. In addition to that, I also ran into precision problems, which was difficult to fix in Javascript due to its limited number type. All-in-all this was a frustrating experience. |
0 commit comments