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 string left
→Add path to results
Backtrack: remove last substring
↩Back to choose next substring
We try all substrings from the start, keep those that are palindromes, recurse on the rest, and backtrack to explore all partitions.
