I cannot find the test cases which are failing,
My code gets accepted in leetcode, but not here
Here’s the link of my code
I cannot find the test cases which are failing,
My code gets accepted in leetcode, but not here
Here’s the link of my code
hello @aakashkumarjee
it may becuase of order. the order u are printing and the order in test file are not same.
right now cb checkers has not any such functionality which for all valid solutions and thats why it is giving u wa for some test cases
Thanks,…but now issue is resolved…and its not what you are saying.
Its just failing cases where output is “No majority Element”, which should be the output when we cant find any answer…
oh ok,
btw what i was saying if actual output is 2 3 and u print 3 2 then cb checker will discard it and will give wa.
u were lucky that urs output is matching the cb output
thanks…sir,…i realise i was lucky…
Hope it helps me in future problems