Hi, as per the questions it mentioned that : "The test cases are generated so that the answer fits on a 32-bit signed integer.", but during my code it gives runtime ...
During the Dynamic Programming (DP) calculation, the intermediate sum of two long long integers exceeded the maximum positive value that a standard 64-bit signed integer can hold ...