Abstract Data Types - Abstract Data Type, Queue, Priority Queue, Double-Ended Queue, Associative Array, Graph, Stack, Set, List, Collection (Paperback)


Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. Pages: 28. Chapters: Abstract data type, Queue, Priority queue, Double-ended queue, Associative array, Graph, Stack, Set, List, Collection, Multimap, Container, Double-ended priority queue, Obstack, Pile. Excerpt: In computer science, a stack is a last in, first out (LIFO) abstract data type and data structure. A stack can have any abstract data type as an element, but is characterized by only three fundamental operations: push, pop and stack top. The push operation adds a new item to the top of the stack, or initializes the stack if it is empty. If the stack is full and does not contain enough space to accept the given item, the stack is then considered to be in an overflow state. The pop operation removes an item from the top of the stack. A pop either reveals previously concealed items, or results in an empty stack, but if the stack is empty then it goes into underflow state (It means no items are present in stack to be removed). The stack top operation gets the data from the top-most position and returns it to the user without deleting it. The same underflow state can also occur in stack top operation if stack is empty. A stack is a restricted data structure, because only a small number of operations are performed on it. The nature of the pop and push operations also means that stack elements have a natural order. Elements are removed from the stack in the reverse order to the order of their addition: therefore, the lower elements are those that have been on the stack the longest. The stack was first proposed in 1955, and then patented in 1957, by the German Friedrich L. Bauer. The same concept was developed independently, at around the same time, by the Australian Charles Leonard Hamblin. A stack is a fundamental computer science data structure and can be defined in an abstract, implementation-free manner, or it can be generally de...

R362

Or split into 4x interest-free payments of 25% on orders over R50
Learn more

Discovery Miles3620
Delivery AdviceOut of stock

Toggle WishListAdd to wish list
Review this Item

Product Description

Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. Pages: 28. Chapters: Abstract data type, Queue, Priority queue, Double-ended queue, Associative array, Graph, Stack, Set, List, Collection, Multimap, Container, Double-ended priority queue, Obstack, Pile. Excerpt: In computer science, a stack is a last in, first out (LIFO) abstract data type and data structure. A stack can have any abstract data type as an element, but is characterized by only three fundamental operations: push, pop and stack top. The push operation adds a new item to the top of the stack, or initializes the stack if it is empty. If the stack is full and does not contain enough space to accept the given item, the stack is then considered to be in an overflow state. The pop operation removes an item from the top of the stack. A pop either reveals previously concealed items, or results in an empty stack, but if the stack is empty then it goes into underflow state (It means no items are present in stack to be removed). The stack top operation gets the data from the top-most position and returns it to the user without deleting it. The same underflow state can also occur in stack top operation if stack is empty. A stack is a restricted data structure, because only a small number of operations are performed on it. The nature of the pop and push operations also means that stack elements have a natural order. Elements are removed from the stack in the reverse order to the order of their addition: therefore, the lower elements are those that have been on the stack the longest. The stack was first proposed in 1955, and then patented in 1957, by the German Friedrich L. Bauer. The same concept was developed independently, at around the same time, by the Australian Charles Leonard Hamblin. A stack is a fundamental computer science data structure and can be defined in an abstract, implementation-free manner, or it can be generally de...

Customer Reviews

No reviews or ratings yet - be the first to create one!

Product Details

General

Imprint

Books LLC, Wiki Series

Country of origin

United States

Release date

July 2011

Availability

Supplier out of stock. If you add this item to your wish list we will let you know when it becomes available.

First published

July 2011

Authors

Creators

Dimensions

246 x 189 x 2mm (L x W x T)

Format

Paperback - Trade

Pages

30

ISBN-13

978-1-155-31286-6

Barcode

9781155312866

Categories

LSN

1-155-31286-4



Trending On Loot