Students have been assigned a series of math problems that have points associated with them.
Given a sorted points
array, minimize the number of problems a student needs to solve based on the criteria below:
1.They must always solve the first problem, index i = 0.
2.After solving the ith problem, they have a choice: solve the next problem (i+1) or
skip ahead and work the (i+2) problem.
3.Students must keep solving problems until the difference between
the maximum points and the minimum points questions solved so far meets or exceeds a specified threshold.
4.If the student cannot meet or exceed the threshold, they must work all the problems.
Students have been assigned a series of math problems that have points associated with them. Given a sorted points array, minimize the number of problems a student needs to solve based on the criteria below: 1.They must always solve the first problem, index i = 0. 2.After solving...