Palo Alto Networks Interview Question

Find the LCS in not-exponential time, given a string.