TESTCASE # 1 fails:wrong answer. the code runs well with ciustom input. could you please help?
Correct output but not accepting
u have to wrong input format
u have to take
t
n
m
link list 1
link list 2
u have taken
t
n
link list 1
m
link list 2
check the input format of question by seeing the test case
no i think i took the correct input .First Line contains T the number of test cases. For each test case : Line 1 : N1 the size of list 1 Line 2 : N1 elements for list 1 Line 3 : N2 the size of list 2 Line 4 : N1 elements for list 2
Enter N and M (Size of List-1 and List-2 respectively) , Enter space separated N elements for list-1 and M space separated elements for list-2
thus os written in question
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.