Max Dot Product of Two Subsequences
Choose two equally long nonempty subsequences to maximise their dot product. The visual shows a DP grid aligning the two sequences.
Choose two equally long nonempty subsequences to maximise their dot product. The visual shows a DP grid aligning the two sequences.