Skip to content

Files

Latest commit

af138b3 · Apr 3, 2020

History

History

0131.palindrome-partitioning

README.md

Given a string s, partition s such that every substring of the partition is a palindrome.

Return all possible palindrome partitioning of s.

Example:

Input: "aab"
Output:
[
  ["aa","b"],
  ["a","a","b"]
]

解题思路## 可能的變化