Solution to Palindrome Partitioning by LeetCode

15 Jul

Question: https://oj.leetcode.com/problems/palindrome-partitioning/

Question Name: Palindrome Partitioning

One simple solution is as following. It is easy to understand. And it passed all the tests.

We could do it better! Do it! Do it better with Manacher’s algorithm! BUT K.I.S.S.

Leave a Reply

Your email address will not be published. Required fields are marked *

Please put your code into a <pre>YOUR CODE</pre> section. Thanks and Happy Coding!