Topic: Array Problem / Level: advanced

Problem: Find the number of distinct subarrays where the product of elements is less than the sum of their digit sums using dynamic programming.

Run the code to see the output here...