You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have tested the function with different inputs, but you found that it sometimes returns incorrect results. For example, when you enter {1, 2, 3, 4, 5}, the function returns 4 as expected, but when you enter {5, 5, 5, 5}, the function returns -2147483648 instead of 5.
solve the following issue .
NOTE : you can not change the logic of all code .
Try to fix with minimum changes.
The text was updated successfully, but these errors were encountered:
You have tested the function with different inputs, but you found that it sometimes returns incorrect results. For example, when you enter {1, 2, 3, 4, 5}, the function returns 4 as expected, but when you enter {5, 5, 5, 5}, the function returns -2147483648 instead of 5.
solve the following issue .
NOTE : you can not change the logic of all code .
Try to fix with minimum changes.
The text was updated successfully, but these errors were encountered: