Skip to content

Latest commit

 

History

History
51 lines (26 loc) · 712 Bytes

File metadata and controls

51 lines (26 loc) · 712 Bytes

中文文档

Description

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"]

]

Solutions

Python3

Java

...