From charlesreid1

No edit summary
 
Line 3: Line 3:
==LinkedDict==
==LinkedDict==


A dictionary is a data structure that allows lookups to happen by value. (See [[Dictionaries]] for definitions/notes from Skiena Chapter 3.)
A dictionary is a data structure that allows lookups to happen by value. (See [[Dictionaries]] for definitions/notes from Skiena Chapter 3, or [[Advanced Data Structures]] page.)


LinkedDict implements the underlying store container as a linked list.
LinkedDict implements the underlying store container as a linked list.

Latest revision as of 06:06, 5 June 2017

Notes

LinkedDict

A dictionary is a data structure that allows lookups to happen by value. (See Dictionaries for definitions/notes from Skiena Chapter 3, or Advanced Data Structures page.)

LinkedDict implements the underlying store container as a linked list.

LinkedDict Java class

LinkedDict class implements an array to store dictionary data.

Implements the following methods:

  • search
  • insert
  • delete
  • max or min
  • predecessor or successor

It does so using a linked list structure.


Flags