Skip to content

Files

Latest commit

e1abef0 · Mar 17, 2020

History

History
53 lines (23 loc) · 629 Bytes

File metadata and controls

53 lines (23 loc) · 629 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

...