π¦ Everybody.Codes 2025 Quest 5 Solutions π¦
Quest 5: Fishbone Order
- 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/
Rust
Nim
Nothing fancy. Simple iterative tree construction and sort, using the
std/algorithmand a custom<operator on types.Full solution at Codeberg: solution.nim
I forgot that "weekdays" for a US website means something different for me here in UTC+9.
This was surprisingly fiddly, but I think I managed to do it reasonably neatly.
What a fiddlybit. I needed records to save me from list-hell on this one.
Scheme/Guile
Uiua
[Works on test data, but fails on Part 3 live data: my checksum is "Correct length and correct first character". Posting for the record while I think about it more.] Turned out to be trailing zeros.