## Question 1 What should be the output if the following set of inputs is provided? nums = [2, 3, 1] target = 6 ### Options 1. True Correct There are only three values in the array, and their sum is equal to the given target, that is, 2 + 3 + 1 = 6. ---------------------------- 2. False Incorrect ---------------------------- --------------------------------------------- ## Question 2 What should be the output if the following set of inputs is provided? nums = [1, -1, 1] target = 2 ### Options 1. True Incorrect ---------------------------- 2. False Correct There are only three values in the array and their sum is 1, not 2. ---------------------------- --------------------------------------------- ## Question 3 What should be the output if the following set of inputs is provided? nums = [1, 2, 4, 6, 8, 20] target = 31 ### Options 1. True Incorrect ---------------------------- 2. False Correct It takes more than 3 elements in the array to get to 31. ---------------------------- --------------------------------------------- ## Question 4 You are given the following inputs: nums = [1, 2, 4, 6, 8, 20] target = 31 If you could make _one_ replacement in the given array to get to the target, which replacement would you make? Select all that apply. ### Options 1. Replace 2 with 3. Correct 3 + 8 + 20 = 31 ---------------------------- 2. Replace 4 with 5. Correct 5 + 6 + 20 = 31 ---------------------------- 3. Replace 6 with 7. Correct 4 + 7 + 20 = 31 ---------------------------- 4. Replace 20 with 28. Correct 1 + 2 + 28 = 31 ---------------------------- ---------------------------------------------