0

Can someone give me a code to form palindrome from a string?

Program must take any string as its input and display if palindrome is possible or not. If possible, must display atleast one palindrome which can be formed from the string.

14th Apr 2017, 7:25 AM
Deepak Gupta
2 odpowiedzi
14th Apr 2017, 8:13 AM
Tashi N
Tashi N - avatar
0
@Tashi , above program just tells if an string is palindrome or not. Thats not the problem i am refering to. I need a program which will take any string as input and tell if a palindrome can be formed from that string or not? For example: if input string is "inpin". Now this is not a palidrome but palindrome can be formed from this string i.e. inpni or nipin.
17th Apr 2017, 9:31 AM
Deepak Gupta