[C] what if there is * in the first string


  • 2
    M

    I tried the following, and could not understand why

    test case 121* 121*?, result is false

    test case 1211 121*?, result is true

    any comment?


  • 0
    B

    If this is true, I think this should be a bug in the official code.


Log in to reply
 

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