Tap here to switch tabs
Problem
Submissions

Problem: Palindrome Permutation II

med
30 min
Try to solve the Palindrome Permutation II problem.

Statement

Given a string s, return all distinct palindromic permutations that can be formed using its characters. You may return the answers in any order. If no palindromic permutation can be constructed from s, return an empty list.

Constraints:

  • 1≤1 \leq s.length ≤16\leq 16

  • s consists of only lowercase English letters.

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Palindrome Permutation II

med
30 min
Try to solve the Palindrome Permutation II problem.

Statement

Given a string s, return all distinct palindromic permutations that can be formed using its characters. You may return the answers in any order. If no palindromic permutation can be constructed from s, return an empty list.

Constraints:

  • 1≤1 \leq s.length ≤16\leq 16

  • s consists of only lowercase English letters.