Return whether a string is special, given a dictionary.
Unlock detailed company stats for this questionUpgrade
Given a string s and a dictionary, return true if the string is special and false otherwise. A string is special if its length is at least 3 and all its subsequences are in the dictionary. Clarifications: maximum length is 10, only characters (no spaces), and strings shorter than 3 are automatically special with no dictionary check.
Community answers
No answers contributed by the community yet.


