advent-of-code-2021
pqueue
advent-of-code-2021 | pqueue | |
---|---|---|
4 | 1 | |
0 | 170 | |
- | - | |
7.4 | 2.9 | |
3 months ago | 6 months ago | |
Java | Erlang | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
advent-of-code-2021
-
[2021 Day 21 (Part 2)] [Java] Incorrect answer for example
Code is available here
-
[2021 Day 16 (Part 2)] [Java] Code works for examples but not for input
Here are the changes that I made. Thanks a lot for help, much appreciated.
-
-🎄- 2021 Day 15 Solutions -🎄-
Java
pqueue
-
-🎄- 2021 Day 15 Solutions -🎄-
This limitation did give me an excuse to implement Dijkstra's algorithm from scratch, which was fun; it also allowed me to play around with the pqueue library, which is very convenient although also imposes its own set of constraints that require the user to have a good amount of foreknowledge about the data they plan to insert into the queue. Since I didn't have that for this problem, I chose a pessimistic heuristic that doesn't seem to impact performance much for the data sizes we're dealing with here.
What are some alternatives?
psqueues - Priority Search Queues in three different flavors for Haskell
Ravenx - Notification dispatch library for Elixir applications
advent-of-code-go - All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
enm - Erlang driver for nanomsg
CPython - The Python programming language
que - Simple Job Processing in Elixir with Mnesia :zap:
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
elixir_nsq - An NSQ client for Elixir and Erlang, written in Elixir.
aoc - 🎄 My solutions and walkthroughs for Advent of Code and more related stuff.
conduit - A message queue framework, with support for middleware and multiple adapters.
Advent-of-code - My solutions of adventofcode.com
oban - 💎 Robust job processing in Elixir, backed by modern PostgreSQL and SQLite3