It seems 50/50 to me that an LLM would come up with a similar solution.
That's very GitHub Copilot + GPT 4o energy.