Check whether a note contains the letters to form an anagram of any word.
Unlock detailed company stats for this questionUpgrade
Given a list of words and a note, check whether an anagram of a word in the list can be found in the note. The anagram's characters can appear shuffled, so ordering does not matter, and the letters need not be together; it is enough that all the characters occur in the note string.
Community answers
No answers contributed by the community yet.
Related questions
Write a function to check whether a string contains a substring.Check whether a BST contains two unique nodes that sum to a target.Related courses

Course

Course
Course
