Let me give an example to understand the problem statement:

Input: "ababcb"

So we start finding the palindromes with "1" character:

[a, b, a, b, c, b]

The next we do is consider palindromes of "2" characters:

Here we do not have any palindromes which can be formed by "2" characters

Palindromes of "3" characters:

[a, bab, c, b],
[a, b, a, bcb],
[aba, bcb]

There are no further palindromes until the length = input.length(), hence the final result will be:

[
[a, b, a, b, c, b],
[aba, b, c, b],
[a, bab, c, b],
[a, b, a, bcb],
[aba, bcb]
]

Let me know if I am wrong!