Concept Flow - Palindrome Partitioning Using Backtracking
Start with empty partition
Choose substring from start index
Check if substring is palindrome?
No→Try next substring
Yes
Add substring to current partition
Recurse from next index
If start index == string length
Save current partition as a solution
Backtrack: remove last substring
↩Back to choose substring step
The algorithm tries all substrings from the current start index, checks if they are palindromes, adds them to the current partition, recurses forward, and backtracks to explore all partitions.
