Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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

840 views

Published on

A way of understanding data structures

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

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

×