Adding Numbers :Victor has an array of size n. He loves to play with these n numbers. Each time he playswith them, he picks up any two consecutive numbers and adds them. On adding both thenumbers, it costs him k*(sum of both numbers).Find the minimum cost of adding all the numbers in the array.Input Specification:input1: Size of array.input2: Elements of the array.input3: Value of k.Output Specification:Return the minimum cost of adding all the numbers of the array. (Python)?
Answers
Answered by
0
Answer:
Write a later to the director of health service to inform about corona vaccine crisis.
Similar questions