Wildcard pattern matching problem cant pass 50% test cases

i think that answer is incorrect because of this(Size(str)*Size(pattern) < 100000000) but i am unable to implement the other way

@sy7176442_ca8a8991a7ddc322 https://ide.codingblocks.com/s/658228
2 corrections done commented

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.