Topic: Dynamic Programming Problem / Level: intermediate

Problem: Compute the minimum cost to partition a string into k palindromes where each partition has a variable cost using dynamic programming.

Run the code to see the output here...