Does . also represent "nothing"?

  • 0

    This is the test case:


    The answer says search("a.d.") should return true. I do not understand this. There are no words of length 4 in the dictionary, and yet the answer says a.d. is in the dictionary.

Log in to reply

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