Category: String

Isomorphic Strings

Given two strings, determine if they are isomorphic. Two strings X and Y are called isomorphic if all occurrences of each character in X can be replaced with another character to get Y and vice-versa.

Determine if two strings are anagram or not

Given two strings, determine if they are anagrams or not.   Any word that exactly reproduces the letters in another order is an anagramap. In other words, X and Y are anagrams if by rearranging the letters of X, we can get Y using all the original letters of X exactly once.