I'm not sure I would entirely trust a tricky algorithm not written by a real developer. Still, interesting.

(If it is manually written I don't trust the LLM-written docs.)

[dead]