Skip to content

HuXiaoyu0/Bidirectional-Maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# Bidirectional-Maps
data structure, homework 8
A bidirectional_map is similar to an STL map, in that it stores the association between key and value data. 
Like a map, inserting and erasing an association between a key and a value is completed in O(log n), where n is the number of association pairs in the map. Also, like a map, lookup by key is O(log n), but additionally, with a bidirectional map, lookup by value is also O(log n)!

See the following link for more information about this data stucture.
http://www.cs.rpi.edu/academics/courses/fall14/csci1200/hw/08_bidirectional_map/hw.pdf

About

data structure, homework 8

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages