💡 Wildcard Pattern Matching https://ide.codingblocks.com/s/110508


Not passing few test cases. What’s wrong in the code? How can I correct that??

https://ide.codingblocks.com/s/110552 Not passing all test cases. What is wrong in the code? How can I correct that??

Hi Tushar!
Try this question using DP. I have commented the hint in this code:

Thanks!