i was looking for techniques for checking if two words are anagrams ... and i did get a lot of techniques with sorting and then comparing ... but will this work...
add the ASCII values of the characters and add the cube of ASCII value of the same characters .. if for 2 strings both the corresponding values are same then the strings are anagrams ... is there any problem with this approach?? thanks Snehi -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
