Why isMatch("ab", ".*") → true ?


  • 1
    G

    I believe ("ab", ".*") -> true should be changed to ("ab", ".*b") -> true.

    Any ideas why this is not?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.