Loading…
A memoized longest common subsequence function returns wrong answers for some inputs because the cache key is ambiguous.
Answers are evaluated by an AI model. Automated feedback can be incomplete or incorrect — treat it as guidance, not a definitive verdict.