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.
2 Answers
+ 12
Search at the code playground....
https://code.sololearn.com/c9NGTF5GKoth/?ref=app
https://code.sololearn.com/c068NSvabowx/?ref=app
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.