Specified a string str with recurring figures, the activity is always to rearrange the characters in a string this kind of that no two adjacent figures would be the same. Once the keys are strings (or integers), a trie can be another choice. A trie is really a tree, https://williaml146fji4.cosmicwiki.com/user