Test case 3 failing
https://ide.codingblocks.com/s/55594
Max. Value in an array
you code will not work for array having all negative values
Ex:
4
-10 -20 -3 -4
Answer:
-3
you answer:
0
Pls metion problem link in your query
you code will not work for array having all negative values
Ex:
4
-10 -20 -3 -4
Answer:
-3
you answer:
0
Pls metion problem link in your query