Wildcard pattern matching

i am getting TLE in some of the test cases please check this out

i am getting TLE in some of the test cases please check this out https://ide.codingblocks.com/s/317324

I have edited your code… Try to submit now…

can you tell why we have removed consecutive (*) from the pattern string??

Because there is one test case for tht…thts why it’s imp to remove consecutive *.