Hallo, will das Problem selber Lösen, doch verstehe nicht ganz die Aufgabenstellung. Kann mir the jemand erklären?
------------------------
Aufgabe:
A palindrome is a string that reads the same forward and backward. The PalMeasure of a string is the sum of the lengths of its substrings that are palindromes. Return the PalMeasure of the concatenation of all the strings in the String[] text.
- A substring is a sequence of consecutive characters from a string.
- An entire string counts as a substring of itself.
- Count equal substrings which have different positions as different.
Beispiele:
{"AAA"} = 10
{"AB"} = 2
{"AB", "BA"} = 10
{"AB", "AAA"} = 15
{"AZ", "ZZ", "A"} = 17
------------------------
Aufgabe:
A palindrome is a string that reads the same forward and backward. The PalMeasure of a string is the sum of the lengths of its substrings that are palindromes. Return the PalMeasure of the concatenation of all the strings in the String[] text.
- A substring is a sequence of consecutive characters from a string.
- An entire string counts as a substring of itself.
- Count equal substrings which have different positions as different.
Beispiele:
{"AAA"} = 10
{"AB"} = 2
{"AB", "BA"} = 10
{"AB", "AAA"} = 15
{"AZ", "ZZ", "A"} = 17