Problems / Backtracking / Palindrome Partitioning
#77 Medium Time O(n·2^n) Space O(n) Animated

Palindrome Partitioning

Partition a string such that every substring is a palindrome.

LeetCode ↗
Approach: DFS (Backtracking)
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps