Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 479 Bytes

File metadata and controls

16 lines (10 loc) · 479 Bytes

Map

http://en.wikipedia.org/wiki/Associative_array

Map is an interface which can be implemented with many data structures.

A map takes one element of one type and returns a second one of another type.

Average operation time:

insert lookup delete
Binary Search Tree log n log n log n
Hash Map 1 1 1

Worst case operation time: n for all.