Practice Problem

Palindrome Partitioning

Difficulty: Medium

Given a string, partition it such that every substring of the partition is a palindrome. Return all possible palindrome partitions.