This code takes a string with all Uppercase Letters and tells if its reordering can give a palindromic string(And tell if it is impossible). This code is written in C++.
The project consists of the code and a (.exe) executable file. We can run the executable and give the input string (of uppercase letters).
Also, the code could be integrated into another code as per requirement.
The code will output the palindromic string if possible. Else it will notify if it's impossible.
The code works by keeping a count of the upper case characters in the string. This is done using an array. Using this count array, a possible rearrangement is found out if possible.
Submitted by RANJITH RAMAMURTHY TEVNAN (ranjith1604)
Download packets of source code on Coders Packet