Answer:
Step-by-step explanation:
The sub-problems in finding the maximum in a list is finding the maximum between the temporary maximum element and every other element in the list. There are n sub-problems for a list of n elements. They can be summarized as maximum=max(maximum, ai) for i = 1 to n. All the sub-problems are unique, so there is no overlap. So, dynamic programming is not a reasonable approach to use here since it will only cost space and will not help in decreasing the time complexity.