-
I believe I found a mistake in this line:
https://github.com/Yoast/advent-of-code/blob/4245d4deaa2805f8230a40ce126ca5fd5949e218/2021/joostboomkamp/AdventOfCode/Day1/15%20Maze.cs#L45
As you only…
-
https://github.com/dlbrush/advent-of-code-2021/blob/8cc9a24d2fd0f35b391120ad944ff76eacc51fe5/3/output2.js#L8
I don't think you have to nest these two loops.
I think you can loop through the lin…
-
### What it does
I was helping a friend learn Rust by going through Advent of Code 2020, and they needed to split a `&str` into a `Vec`. They found the `str::split` method, and wrote `string.split(""…
-
```SQL
WITH RECURSIVE
oxygen AS (
SELECT id, value, 1 AS index, (substr(value, 1, 1) = '1') = (sum(substr(value, 1, 1)::int) OVER () >= (count(*) OVER())::FLOAT/2) AS remain
…
-
이 언어는 뭔가 특별하다! 이곳에 숨겨진 비급이 있다!
이럴 때 만큼은 채용이고 커리어고 잊어버린채 숨겨진 보석같은 언어를 소개하고 팔아주세요 ㅋㅋ
-
When adding large number of vertices, some of my vertices weren't added to the graph.
For example
```
vertices = 0..250000 |> Enum.map(& &1)
Graph.add_vertices(Graph.new, vertices)
#Graph
``…
-
Thanks for the library!
I was looking for something like sepBy but requiring an exact number of separated elements.
If it's not here yet, maybe it could be added:
```haskell
sepByN :: Altern…
-
### Summary of Problem
With the caveat that I'm not much of a string programmer, during Advent of Code, I found myself writing cases like:
```chapel
s.strip();
```
rather than the required:…
-
For datasets with >10k samples, the memory requirements can be quite high.
If there isn't enough memory available, this can throw an out-of-memory error.
-
## Details
I got this issue when trying to create an animation for an Advent of Code puzzle. To reproduce, see
https://github.com/tk3369/AdventOfCode2021/blob/387cb0eea11dd3542cda0a5b767a96654…