Computer Science, asked by bhavusomu8037, 1 year ago

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 are for, ofr, rof etc.))

Answers

Answered by Anonymous
0

Answer:

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 are for, ofr, rof etc.)) Examples: Input : forxxorfxdofr for Output : 3 Explanation : Anagrams of the word for - for, orf, ofr appear in the text and hence the count is 3..............

Similar questions