Topic: Array Problem / Level: intermediate

Problem: Check if the sum of diagonal elements in a square matrix is greater than the sum of the first and last rows using dynamic programming.

Run the code to see the output here...