MEX Dividend

We define MEX Dividend of an array as the smallest positive integer not present in the array which i…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

@hjr265 see the Submission 917191. I got to pass the tests in exactly 1.0s but it should’ve given me TLE right? why this kinda thing happened?

1 Like

Unless your CPU usage goes over the limit, it won’t yield that verdict.