## Question 1 What is the correct output if the following array is passed as input? nums = [-2, 1, 0, 4, -1, 7, 1, 5, -8] ### Options 1. 15 Incorrect ---------------------------- 2. 17 Correct The subarray [1, 0, 4, -1, 7, 1, 5] has the largest sum. ---------------------------- 3. 16 Incorrect ---------------------------- --------------------------------------------- ## Question 2 What is the correct output if the following array is passed as input? nums = [6, -5, 1, 3, 8, -17, 13, -5, 1] ### Options 1. 13 Correct The subarray [6, -5, 1, 3, 8] has the largest sum. ---------------------------- 2. 32 Incorrect ---------------------------- 3. 11 Incorrect ---------------------------- ---------------------------------------------