Open In App

Data Structures | Misc | Question 9

Like Article
Like
Save
Share
Report

Consider a situation where a client receives packets from a server. There may be differences in speed of the client and the server. Which data structure is best suited for synchronization?
(A) Circular Linked List
(B) Queue
(C) Stack
(D) Priority Queue


Answer: (B)

Explanation: Since packets need to be processed in First In First Out order, a queue can be used for synchronization.

Quiz of this Question


Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads