1. Could dynamic programming be applied to give an efficient solution to the followingproblems? Justify your answer in terms of the optimal substructure property on theoverlapping sub-problems. Even if you think the answer is yes, you do not need to givean algorithm; the question isnot"show us how to solve it using DP", it is "give anargument as to whether DP is a reasonable approach to try here."(a) List maximum.Input:ListLof numbers.Output:The maximum element in the list.