Topic: Divide And Conquer Problem / Level: intermediate

Problem: Use divide and conquer to solve the problem of counting the number of valid partitions of a string into palindromic substrings.

Run the code to see the output here...