🦆 Everybody.Codes 2025 Quest 7 Solutions 🦆
Quest 7: Namegraph
- Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
- You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL
Link to participate: https://everybody.codes/
Nim
Part 3 is a recursive solution with caching (memoization).
Full solution at Codeberg: solution.nim
Scheme/Guile
You could probably build a (letter, length) => combination-count mapping pretty quickly for part 3, but dealing with overlap in the input elements seems like a pain if handled this way.
Python
Rust
Technically you don't need to store the names in part 3, but I was too lazy.
Uiua
There's probably a good solution hiding in here, but this ain't it. I originally went for the combinatoric approach for part 3, but it was giving me an answer that turned out to be out by 8, so brute force came to the rescue.
Haskell
A nice dynamic programming problem in part 3.