One test case not passing

Hi @lakshit,
try modifying ur match function.
if input is like n1=1, list={1},n2=1, ,list={1}, ur code will give segmentation fault.
in ur match fuction, when doung head=head->next, check whether head is not NULL.
Hope dis helps.

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.