Consider this example of finding anagrams
aabc
abca
They both are anagrams, I am looking for a way so that their hash generated by characters is same and unique.
The uniqueness is important so that no two different string aabc
and xyaq
generate the same hash
I have no idea about this, but throwing up here to learn what I need to look up for