Q. Given a 2D matrix, find a submatrix that has the maximum sum. Which of the following methods can be used to solve this problem?

  • (A) brute force
  • (B) recursion
  • (C) dynamic programming
  • (D) brute force, recursion, dynamic programming
πŸ’¬ Discuss
βœ… Correct Answer: (D) brute force, recursion, dynamic programming
Explanation: brute force, recursion and dynamic programming can be used to find the submatrix that has the maximum sum.

Explanation by: Mr. Dubey
brute force, recursion and dynamic programming can be used to find the submatrix that has the maximum sum.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
156
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate