Regular Expression Matching : I am confused about the result


  • -1
    L

    when I submit my solution, I get the result:

    Input: "ab", ".*c"
    Output: true
    Expected: false

    I am very confused about the result, How the result should be false???


Log in to reply
 

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