Infosys Interview Question

Questions on string plaindromes, given a strinf string find all possible beautiful strinsg