amanda99 an hour ago

Is this not kind of trivial, at least the way they've defined it? It's kind of very obviously NP complete to me. Any of these text problems where you're tying to optimize over a whole corpus is kind of not hard to see to be NP-complete, similar to longest common subsequence.

  • saiajc 18 minutes ago

    Longest common subsequence can be solved in at most quadratic time via dynamic programming.

  • HeliumHydride an hour ago

    Longest common substring is linear time.