Topic: Dynamic Programming Problem / Level: intermediate

Problem: Solve the "Number of Distinct Palindromic Substrings" problem using dynamic programming.

Run the code to see the output here...