From charlesreid1

(Created page with "=Notes= ==LinkedDict== A dictionary is a data structure that allows lookups to happen by value. (See Dictionaries for definitions/notes from Skiena Chapter 3.) LinkedDi...")
 
 
(One intermediate revision by the same user not shown)
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.
Line 19: Line 19:


It does so using a linked list structure.
It does so using a linked list structure.
=Flags=
[[Category:Dictionaries]]
[[Category:Data Structures]]
[[Category:Java]]
{{DataStructuresFlag}}

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