Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
AdventOfCode
Hacky solutions for [Advent of Code](https://adventofcode.com), working on past problems (by AllanTaylor314)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
AdventOfCode2022
Solutions to all 25 Advent of Code 2022 in Rust 🦀 Less than 100 lines per day, total runtime of less than 1 second. (by AxlLind)
-
AoC.2022
Advent of Code 2022, I'm going to try to use Excel. First with LAMBDA, then maybe VBA or OfficeScripts.
-
Advent_of_Code
A repo revolving around attempting to solve the Advent of Code puzzles with single-statement t-sql (by adimcohen)
-
advent-of-code-go
All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
F# - Only Part 1, For Part 2 Check my TypeScript solution
Python (and CTRL+F to find the size of the loop) [816/513]
Java, 302/560.
Python, 994/662. Solution is here
rust. I banged my head on the wall writing part 1 a lot (sooo many little off-by-ones and transposing rows/columns etc) but part2 was pretty fun.
Python, for part 1.
JS
My code is in https://github.com/messcheg/advent-of-code/tree/main/AdventOfCode2022/Day17.
Link to full solution
JS, ugly and slow.
OCaml: github runs part 2 in 0.03s
Kotlin: github
I wrote it myself while solving the previous years of AoC. You can check it out here if you're interested :-)
+1 to not being ashamed of your solution! And I'd go even further – I'd encourage you to submit it to the community solutions repo; the community really believes in the There's More Than One Way To Do It idea, and one of the great parts of TIMTODI is being able to compare/contrast ways that other people found!
full code: https://github.com/nicuveo/advent-of-code/blob/main/2022/haskell/src/Day17.hs
source: https://github.com/timskipper/AdventOfCode/blob/main/DaySeventeen.cs
Kotlin - Runs both parts in about 200ms on a newish MBPro - Code
Here's my writeup and visualization. And my code here.
Python
[Python3 0.2s / 8.3s](https://github.com/Kamik423/advent-of-code-2022/blob/main/17.py)
both parts
Python, Part 1 Only
part 1 only
Yet another Python solution to part 2. My Python code isn't the best but I haven't seen many solutions that detect cycles programmatically.
github link
Rust in 2ms for both parts: https://github.com/baptistemanson/advent-2022/blob/master/src/day17.rs
I didn't do part 2 yet.
Part 1 - ~50ms Part2 - ~200ms
Lagging a few days behind, but I thought let's post anyway. Both part 1 and part 2 are solved in a single script. This code runs in about 5ms when built in Release mode.
Rust
Python 3: part 1, part 2.