After I test the test case. I found only p will contain special char. i.e ".","a" is false
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.