Problem
Given a strings, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s.
Examples
Constraints
1 <= s.length <= 16scontains only lowercase English letters.
Tested Python solution for LeetCode 131 with 12 pytest cases. Generate a practice environment with lcpy.
s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s.
1 <= s.length <= 16s contains only lowercase English letters.