Skip to content

Substring or subsequence

Two questions: the longest palindromic substring, and the longest palindromic subsequence.

Why do they need different tables?