A possible algorithm for determining whether two strings are anagrams of one another? [closed]
I wrote a quick program to brute-force search for conflicts and found that this approach does not always work. The strings ABFN and AAHM have the same ASCII sum and product, but are not anagrams of one another. Their ASCII sum is 279 and ASCII product is 23,423,400. There are a lot more conflicts than … Read more