I have written the program correctly but one of the test cases isn’t passing.Kindly help me out.
Max value in array
instead of initializing max with 0 initialize with with minimum possible value in the array
1 Like