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
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
Science,
6 months ago
English,
6 months ago
Social Sciences,
6 months ago
Accountancy,
1 year ago
Computer Science,
1 year ago
Economy,
1 year ago
Physics,
1 year ago