Edge Case not handled.


  • 0
    P

    consider

    s = "aaaa"
    p = "c*a*"

    This case passes. But
    s = "aaaa"
    p = "c*a"
    didn't pass.
    I think it's a True case but recognized as False by OJ.

    What do you think


Log in to reply
 

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