Skip to content

Conversation

@Seren-35
Copy link
Contributor

Resolves #71. I haven't read into the original code too deeply but it brings up Heap's algorithm so my guess is it runs in pessimistic n! time or so, with a number of heuristics in place to mitigate it for common inputs. My algorithm runs in O(n^2). It can be improved further by heuristics if need be, but my testing suggests it already checks any realistically humanly solvable grid in an instant.

@vercel
Copy link

vercel bot commented Jul 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pzprjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2024 8:22pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Curve Data: Answer checking is currently slow

2 participants