when i test this as custom input A : [ “abcd”, “abcd”, “efgh” ]
i am getting correct ans… if i click on test it says trivial case acceppted
but when i click on submit it says your function returned a
I checked I am not leaving global variable as uninitialised
then why this error.
Both time and score wasted for this question… very unhappy
Different result while testing and submitting
Figured out why…
this is because while submitting -different cases are using same session… so i have to reset the value of global variable…
This should not happen Anshuman Singh, please correct this , it is wasting time and score of students.