From charlesreid1

(Created page with "=Notes= ==ArrayDict== A dictionary is a data structure that allows lookups to happen by value. (See Dictionaries for definitions/notes from Skiena Chapter 3.) ArrayDict...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
==ArrayDict Java class==
==ArrayDict Java class==


I authored a Java class that implements an array-based dictionary, which allows objects to be passed by value and retrieved with an O(1) operation.
ArrayDict class implements an array to store dictionary data.


Implements the following methods:
* search
* insert
* delete
* max or min
* predecessor or successor


Unsorted array list vs sorted array list


=Java Implementation=
=Java Implementation=




=Flags=


[[Category:Dictionaries]]
[[Category:Dictionaries]]
[[Category:Data Structures]]
[[Category:Java]]
{{DataStructuresFlag}}

Latest revision as of 07:21, 3 June 2017

Notes

ArrayDict

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

ArrayDict implements the underlying store container as an array of objects.

ArrayDict Java class

ArrayDict class implements an array to store dictionary data.

Implements the following methods:

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

Unsorted array list vs sorted array list

Java Implementation

Flags