Topic: Array Problem / Level: advanced

Problem: Find the maximum sum of a subarray where the sum of elements is less than their digit sums using dynamic programming.

Run the code to see the output here...