Thursday, December 26, 2024
Google search engine
HomeData Modelling & AIData Structures | Misc | Question 9

Data Structures | Misc | Question 9

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

Feeling lost in the world of random DSA topics, wasting time without progress? It’s time for a change! Join our DSA course, where we’ll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 neveropen!

RELATED ARTICLES

Most Popular

Recent Comments