It says input mismatch error in main. But in the comments present in code it says not to modify the code.
I am unable to understand the input format for the linked list too.The sample input says, “(This is not the actual input that will be provided but rather a description of it)”. Can anyone help me.