Anagram Checker–To check if 2 strings are anagrams
Problem Wap to find out if 2 strings are anagrams or not.
Anagrams
Two words are anagrams if one of them has exactly same characters as that of the another word.
Example : Anagram & Nagaram are anagrams (case-insensitive).Similarily, abcd and abdc are anagrams, but abcd and abdce is not.
Solution A simple way to check if two strings are anagrams is to find out if the numeric sum of the characters in the strings is equal.
[Read More]