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 for remaining string
If no string left
→Save current partition as solution
Backtrack: remove last substring
↩Back to choose next substring
We try all substrings from the start, check palindrome, add if yes, recurse on rest, and backtrack to explore all partitions.