How many unique subproblems?
Assume that 1 i < j n or 1 i = j n.
Only polynomial number of unique subproblems.