A certain website has a request threshold (RT), defined as the maximum number of requests it can handle in a single day. If the number of requests on a given day exceeds the RT, the site processes only the first RT requests. The remaining requests are not addressed and are permanently discarded.
During one week, from Monday to Sunday, the number of requests received on each day was as follows:
810, 790, 830, 823, 780, 795, 820
First, let's sort the nos. 780, 790, 795, 810, 820, 823, 830
On exactly 4 out of the 7 days that week, there was at least one request that was not addressed.
Now, the RT values must be such that four days have at least one request that has not been addressed, or three days requests must be fully addressed.
For 780,790,795 must be fully addressed. Minimum RT can be 795.
For 810, 820, 823, 830, at least one request must not be addressed. Maximum RT can be 810-1 = 809;
On the following Monday, the site received 812 requests.
Minimum Not Addressed: 812 - 809 = 3
Maximum Not Addressed: 812 - 795 = 17