A queue is a first-in—first-out data structure. Suppose you have two queues accepting requests for a particular service, but at some point, the server for one queue goes down. You must now merge the two queues. If no other information is available, what might a reasonable strategy be for forming a single queue out of the two queues? What additional information would be necessary to form a single queue in such a way to be most fair to all requests?

Respuesta :

The information that would be necessary to form a single queue is to merge the data in both queues.

What is a queue?

A queue simply means a linear structure that follows a particular order in which the operations are performed.

The queues are used to process users' requests on any application. They store users' requests such that requests which have come first, tend to get served first.

Therefore, if one queue goes down, it should be best to merge the data in both queues on basis of their request time, therefore, becomes most fair to all requests.

Learn more about queue on:

https://brainly.com/question/24275089