Sir/Ma’am,
This is the link to the problem of finding the max value in an array. One test case fails for this. I cannot find the mistake in this.
Sir/Ma’am,
This is the link to the problem of finding the max value in an array. One test case fails for this. I cannot find the mistake in this.
Please send you code. This link do not have any code written on it.
Coding blocks ide is under maintanence. Send you code in another ide
You should take max initial value as INT_MIN and not -1 because range of numbers are from -1e9 to 1e9.
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.