https://pintia.cn/problem-sets/994805342720868352/problems/994805514284679168 Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, ..., Nj } where 1. The Maximum Subsequence is th…