Ancestors

Toot

Written by mykl@lemmy.world on 2024-12-24 at 11:07

[2024 Day 24] How's Part 2 going for you?

https://lemmy.world/post/23484173

=> More informations about this toot | More toots from mykl@lemmy.world

Descendants

Written by hades@lemm.ee on 2024-12-24 at 12:44

Good, although it took some time. Actually, I got my personal best global rank on that problem.

=> More informations about this toot | More toots from hades@lemm.ee

Written by mykl@lemmy.world on 2024-12-24 at 12:52

Haha, I spent about two hours fiddling about in the debugger and drawing bad diagrams to get an answer. I just checked and it turns out that I also got my personal best ranking on it too, though I’m not sure it should count :-)

=> More informations about this toot | More toots from mykl@lemmy.world

Written by hades@lemm.ee on 2024-12-24 at 12:59

That just makes sense – the top-1k are competitive programmers, and today’s puzzle had nothing to do with competitive programming :)

=> More informations about this toot | More toots from hades@lemm.ee

Written by mykl@lemmy.world on 2024-12-24 at 13:21

True, I’ve just been looking at the comments on the other place, and pretty much everyone there seems to have resorted to figuring it out manually too.

=> More informations about this toot | More toots from mykl@lemmy.world

Written by CameronDev@programming.dev on 2024-12-26 at 00:52

If it had been more than 4 swaps, or larger distance swaps, this could have been a nightmare challenge.

=> More informations about this toot | More toots from CameronDev@programming.dev

Written by Acters@lemmy.world on 2024-12-28 at 14:37

haha, there are way too many days where I end up with code that works with the sample but fails the real input. its just not really possible to expect the sample and description to properly prepare you. oh well, it is what it is.

=> More informations about this toot | More toots from Acters@lemmy.world

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113707480271292784
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
260.142272 milliseconds
Gemini-to-HTML Time
1.786836 milliseconds

This content has been proxied by September (3851b).