Logical and Physical Data
Structures
- A way of understanding data structures -
References:
1. Algorithms - Princeton - Co...
Logical Data structures - definition
A logical data structure is defined by its API
and the semantics of each of the APIs....
Logical
Some of the logical data structures include
● Stacks
● Queues
o Priority Queues
● Bags
● Symbol Tables
Logical - Illustrative API - Symbol
Table
Physical - Generic
Physical data structures are constructed based on the organization of the
computing machine. The memory...
Physical - Specialized
The two generic physical data structures can be further specialized as follows
● Array
o unordered ...
Physical - Illustrative
Implementations - Symbol Table
Upcoming SlideShare
Loading in...5
×

Data structures logical and physical

359
-1

Published on

A way of understanding data structures

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
359
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Data structures logical and physical

  1. 1. Logical and Physical Data Structures - A way of understanding data structures - References: 1. Algorithms - Princeton - Coursera 2. Algorithms Booksite
  2. 2. Logical Data structures - definition A logical data structure is defined by its API and the semantics of each of the APIs. It does not either imply the physical implementation of the data structure nor necessitate a specific implementation. While several implementations exist for each logical data structure some are optimal vis-a-vis others.
  3. 3. Logical Some of the logical data structures include ● Stacks ● Queues o Priority Queues ● Bags ● Symbol Tables
  4. 4. Logical - Illustrative API - Symbol Table
  5. 5. Physical - Generic Physical data structures are constructed based on the organization of the computing machine. The memory structures both scale and hierarchy, instruction set both operations and registers drive the physical design of a data structure. There are two physical implementations of data structures at the most generic abstraction level for a computing machine (a deterministic turing machine as opposed to a quantum). ● Arrays ● Graphs
  6. 6. Physical - Specialized The two generic physical data structures can be further specialized as follows ● Array o unordered array o ordered array ● Graph o Linked Lists o Trees  Binary Trees ● Binary Search Trees o Self Balancing Binary Search Trees  Left Leaning Red Black Tree  …. o Acyclic Graphs  Directed Acyclic Graphs  …. o Cyclic Graphs  ... o And all other variants  2-3 Trees  B-Trees  Tries
  7. 7. Physical - Illustrative Implementations - Symbol Table
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×