Given a string
s, return all the palindromic permutations (without duplicates) of it. Return an empty list if no palindromic permutation could be form.
For example:
Given
s = "aabb", return ["abba", "baab"].
Given
s = "abc", return [].
Solution:
Round 2 solution:
No comments:
Post a Comment