Problem
Given an NxN matrix of positive and negative integers, write code to find the sub- matrix with the largest possible sum.
Solution
This is DP problem. Here is the good solution.References
Data structures, Algorithms, Coding, Technical Interview Questions and much more. (Still work in progress)
Given an NxN matrix of positive and negative integers, write code to find the sub- matrix with the largest possible sum.
0 comments:
Post a Comment