Math, asked by SamirChaudhary2952, 2 months ago

Consider an array X = {111, 200, 30, 40, 50). How many times should the right circular shift be performed such that the sum of the first three elements is 1207

Answers

Answered by amitnrw
1

Given : an array X = {111, 200, 30, 40, 50).

To Find :  How many times should the right circular shift be performed such that the sum of the first three elements is 1207

Solution:

all elements of the array are moved to its right by one position.

There are are 5 elements in array

Sum of 3 elements can be maximum 111 + 200 + 50    361

Hence sum of the first three elements = 1207  not possible

Learn More:

consider an array of integers A=27, 8, 90 calculate the sum of the ...

https://brainly.in/question/39016592

Similar questions