Wildcard Matching Problem


My last 3 test cases are giving run error.KIndly debug my code and me the modifications in my code.

Your code is giving right answer for last testcases. Let me ask why this is happening.

Hey! Please ask them to solve the issue fast!

Use vector in place of dp array then try

It is not working for the last 2 test cases.Kindly look into it.

https://ide.codingblocks.com/s/238359 code link

Try to remove consecutive stars from string

But what is the need to remove consecutive stars

After removing the consecutive stars the code is still not working. Code: https://ide.codingblocks.com/s/238499

I have solved my doubt, We have to create the dp matrix dynamically for allocating more memory.