please explain file 2 of the ecplanation . i am unable to think the logic what should i do.
please help me in the logic part
Winning cb scholarship
This is very similar to aggresive cows/books allocation problem.There is a standard way to solve these type of problem.You can use binary search to solve this.
Here,first you need to identify the maximum and minimum value possible.Then see if mid((maximum value+ minimum value)/2) satisfies the condition or not.if condition is satisified, check for greater value than mid else check for smaller value than mid.
Thanku maam . I have done this problem