Skip to content

Tag Archives: anagram

Write a function to check whether two given strings are an Anagram of each other or not. An anagram of a string is another string… Read More
Given two strings S1 and S2, the task is to count the number of sub-strings of S1 that are anagrams of any sub-string of S2.… Read More
Given a word and a text, return the count of the occurrences of anagrams of the word in the text(For eg: anagrams of word for… Read More
Given N strings. Find the longest possible subsequence from each of these N strings such that they are anagram to each other. The task is… Read More
Write a function to check whether two given strings are Permutation of each other or not. A Permutation of a string is another string that… Read More
Given two strings X and Y, we need to convert string X into an anagram of string Y with minimum replacements. If we have multiple… Read More
Given two strings str1 and str2 of length n1 and n2 respectively. The problem is to count all the subsequences of str1 which are anagrams… Read More
Given an array of n string containing lowercase letters. Find the size of largest subset of string which are anagram of each others. An anagram… Read More
Given two strings str1 and str2 of length n1 and n2 respectively. The problem is to find the length of the longest subsequence which is… Read More
Given two strings s1 and s2, check if both the strings are anagrams of each other.Examples:  Input : s1 = "listen" s2 = "silent" Output… Read More
Given an array of n string containing lowercase letters. Find the size of largest subset of string which are anagram of each others. An anagram… Read More
Given two strings in lowercase, the task is to make them Anagram. The only allowed operation is to remove a character from any string. Find… Read More
Given an array of words, print all anagrams together ? Examples: Input : arr = ['cat', 'dog', 'tac', 'god', 'act'] Output : 'cat tac act… Read More
Write a function to check whether two given strings are anagram of each other or not. An anagram of a string is another string that… Read More
We have given an anagram string and we have to check whether it can be made palindrome o not. Examples:  Input : geeksforgeeks Output : No… Read More