Concept Flow - Palindrome Partitioning Using Backtracking
Start with empty path
Choose substring from start
Check if substring is palindrome?
No→Discard substring, try next
Yes
Add substring to path
Recurse with remaining string
If no remaining string
→Add path to results
Backtrack: remove last substring
Try next substring from previous step
We try all substrings from the start, check if palindrome, add to path, recurse on rest, and backtrack to explore all partitions.
