please tell what’s the problem in the code. 2 of the test cases are not running.
i think the problem is in the case when element is not present in the array, what do we have to do in that case?
Test case not running
@Akshita99
Your solution is incorrect.
Try this test case
3
5
5
5
5
If your doubt is resolved please mark it as closed.