Given a string str with repeated people, the undertaking is to rearrange the figures in a string these that no two adjacent figures are classified as the same.The main hash perform is utilized to compute the initial hash worth, and the second hash operate is utilized to compute the stage dimensions for that probing sequence. Double hashing has the