Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitionings of s.
Note: A palindrome is a string that reads the same backward as forward.
Constraints:
s.length
s contains only lowercase English letters.
Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitionings of s.
Note: A palindrome is a string that reads the same backward as forward.
Constraints:
s.length
s contains only lowercase English letters.