Concept Flow - Palindrome Partitioning Using Backtracking
Start with empty partition
Choose substring from start
Check if substring is palindrome?
No→Discard substring, try next
Yes
Add substring to current partition
Recurse on remaining string
If no string left
→Save current partition as solution
Backtrack: remove last substring
↩Back to choose next substring
Start with empty partitions, pick substrings from the start, check palindrome, add if yes, recurse on rest, save when done, then backtrack to try other splits.
