First question was: input is symmetrical(palindrome) string name you had to output: returned a rearraned string that also: # 1.dffrent symmetrical string # 2. should be lexicographically smallest string among all possible symmetrical strings #example for lexicographically smallest string: "abcd" is lexicographically smaller than "abdc" but larger than "abad"