Question: please help me with this JAVA question asap Define a recursive function addUpToExcluding4, that when passed an integer array, another integer (target) and the starting
please help me with this JAVA question asap

Define a recursive function addUpToExcluding4, that when passed an integer array, another integer (target) and the starting index (start), returns true if zero or more items of the array (not necessarily in a sequence), starting at the starting index, can be used with the + operation to construct the given integer. None of the 4 s in the array can be included in the sum. For example, if the array is {10,70,90,300,4,4} and starting index is 0 , we can constructor: - 370 as: 70+300 - 100 as: 10+90 But not (without using one or more 4s ): - 308 - 8 - 94 Needless to say, if the starting index is more than or equal to the length of the array, we cannot construct any number. Note: no loops can be used in your solution, this function must be solved recursively
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
