Data Structures

Data Structures
  • Author: Wikibooks
  • Format: online HTML
  • Price: free

This book is about the creation and analysis of efficient data structures and covers:

  • the primitive node structure;
  • asymptotic notation for mathematically discussing performance characteristics;
  • built-in arrays;
  • list structures built from either nodes or arrays;
  • iterators as an abstract model of enumerating the items in a sequence;
  • stacks and queues for computing with last-in/first-out and first-in/first-out orderings;
  • binary and general tree structures for searching or representing hierarchical relationships;
  • min and max heaps for representing ordering based on priorities;
  • graph structures for representing more general relationships between data elements;
  • hash tables for the efficient retrieval of strings and other objects; and finally
  • trade-offs between the structures, and strategies for picking the most appropriate ones.

To understand the material in this book you should be comfortable enough in a programming language to be able to work with and write your own variables, arithmetic expressions, if-else conditions, loops, subroutines (also known as functions), pointers (also known as references or object handles), structures (also known as records or classes), simple input and output, and simple recursion.

Chapters include:

  • Introduction
  • Asymptotic Notation
  • Arrays
  • List Structures and Iterators
  • Stacks and Queues
  • Trees
  • Min and Max Heaps
  • Graphs
  • Hash Tables
  • Sets
  • Tradeoffs

Leave a Reply

Your email address will not be published. Required fields are marked *