Wildcard Pattern Matching

I am to able to get this question to explain me with some examples

@vivekpatel
you have to tell whether the two strings are equal or not.
Here’s the catch:
? = any alphabet
asterisk = any string(non empty as well)
asterisk can be equal to abc,aa,azzz,plde,’ '. etc.

Input: s = “adceb”
p = “*a*b”
Output: true
Explanation: The first asterisk matches the empty sequence, while the second ‘asterisk’ matches the substring “dce”.
…
Input: s = “acdcb” p = “a*c?b”
Output: false

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.