Split Two Strings to Make Palindrome
You are given two strings, a and b. You can split each string into some substrings (possibly none) such that:
Every substring in a is a palindrome. Every substring in b is a palindrome. The number of palindromes formed by concatenating the substrings in a with the substrings in b is maximized. Return the maximum number of palindromes that can be formed.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)