Computer Science, asked by riddhigarg4674, 5 hours ago

A company has a lot of work to do. They have tightdeadlines both from development and support. Theyevaluate the product release after every k days. Every daythey remove the best IQ guy and worst IQ guy from theteam and add a new guy with IQ same as there difference.This happens usually many teams during the whole financialyear. You are given a list of guys with there IQs. There youwould have multiple queries stating the Kth day the teamwants to evaluate. At the end of each query you have toreturn the whole possible IQs of the team.Input:​

Answers

Answered by iamshubhigoyal
1

Answer:

The answer is above... I 've attached the answer

Attachments:
Similar questions