## Check whether two Strings are Anagram of each other using HashMap in Java

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 »

## Number of sub-strings which are anagram of any sub-string of another string

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 »

## Count Occurences of Anagrams

Given a word and a text, return the count of the occurences of anagrams of the word in the text(For eg: anagrams of word for… Read More »

## Longest common anagram subsequence from N strings

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 »

## Check if two strings are permutation of each other

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 »

## Covert string X to an anagram of string Y with minimum replacements

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 »

## Count subsequences in first string which are anagrams of the second string

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 »

## Python Counter to find the size of largest subset of anagram words

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 »

## Longest Common Anagram Subsequence

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 »

## Python sorted() to check if two strings are anagram or not

Given two strings s1 and s2, check if both the strings are anagrams of each other. Examples: Input : s1 = “listen” s2 = “silent”… Read More »

## Find the size of largest subset of anagram words

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 »

## Using Counter() in Python to find minimum character removal to make two strings anagram

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 »

## Print anagrams together in Python using List and Dictionary

Given an array of words, print all anagrams together ? Examples: Input : arr = [‘cat’, ‘dog’, ‘tac’, ‘god’, ‘act’] Output : ‘cat tac act… Read More »

## Anagram checking in Python using collections.Counter()

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 »

## Check if any anagram of a string is palindrome or not

We have given a anagram string and we have to check whether it can be made palindrome o not. Examples: Input : geeksforgeeks Output :… Read More »