Write code in your favorite programming language that will accept two strings and return true if they are anagrams.
Sigiloso
Found this good link. Time complexity is O(n). http://www.dreamincode.net/code/snippet1481.htm The algorithm can still be improved but gives some basic idea on how to implement.