isMatch("aab", "cab") → true
This is different from the wildcard matching problem. “c*” could match an empty string because this string should match to any number of c. Read the second line of the problem carefully.
Thank you very much! I think I'll get it. Thanks!
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.