Given a string str with repeated people, the endeavor is always to rearrange the people in a string this sort of that no two adjacent people are classified as the same.The hash function Utilized in this technique is usually the identity functionality, which maps the enter details to itself. In such cases, The important thing of the info is applied