Presented a string str with repeated figures, the activity is always to rearrange the figures within a string this kind of that no two adjacent people are the same.The hash functionality used in this method is usually the identification perform, which maps the enter data to alone. In this instance, The true secret of the data is utilised since the