Algorithms Quiz | Sudo Placement [1.5] | Question 8
Below is the code to find maximum subarray sum, with errors (which may results to wrong output) in the statement which is commented on right half after code statement. You need to choose the correct option for which corresponding statement is wrong.
(A) Statement 1 and statement 2 both.
(B) Statement 1 only.
(C) Statement 2 only.
(D) Neither statement 1 nor statement 2.
Explanation: Refer : https://www.geeksforgeeks.org/largest-sum-contiguous-subarray/
Quiz of this Question