Editorial Suggestion

Suggestion for the editorial

The editorial code fails for the following test case

[-1, -2, -3]

the expected output --> -1

the output by editorial --> 0

I have rectified that error in here please check it.