This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingCut a string into palindromic pieces in every possible way.
What this asks
Cut a string into palindromic pieces in every possible way.
At each start index try every end, recursing only when the piece is a palindrome.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing