1771. Maximize Palindrome Length From Subsequences
Description
**Input:** word1 = "cacb", word2 = "cbba"
**Output:** 5
**Explanation:** Choose "ab" from word1 and "cba" from word2 to make "abcba", which is a palindrome.**Input:** word1 = "ab", word2 = "ab"
**Output:** 3
**Explanation:** Choose "ab" from word1 and "a" from word2 to make "aba", which is a palindrome.ac
Previous1770. Maximum Score from Performing Multiplication OperationsNext1772. Sort Features by Popularity
Last updated