Queue
-
QueueAlgoDS/DataStructure 2020. 1. 16. 23:04
1. Overview A Queue is a linear structure that follows a particular order in which the operations are performed. The order is First In First Out (FIFO). A good example of a queue is any queue of consumers for a resource where the consumer that came first is served first. The difference between stacks and queues is in removing. In a stack we remove the item the most recently added; in a queue, we..
-
Choosing the appropriate Data StructureAlgoDS/DataStructure 2019. 9. 4. 21:14
1. Overview Data structures are the way to store and retrieve data like accessing data using an index in an array or a named key to store and retrieve information from a dictionary. Choosing the appropriate data structure enhancing inputting, processing, maintaining, retrieving information. For performance, the developer should choose the right data structure. 2. Description Data Structure Descr..