Maps, Hash Tables, and Skip Lists

Description

Mind Map on Maps, Hash Tables, and Skip Lists, created by Angelica Cordero on 31/05/2022.
Angelica Cordero
Mind Map by Angelica Cordero, updated more than 1 year ago
Angelica Cordero
Created by Angelica Cordero over 3 years ago
2
0

Resource summary

Maps, Hash Tables, and Skip Lists
  1. Hash Tables
    1. The novel concept for a hash table is the use of a hash function to map general keys to corresponding indices in a table.
      1. Ideally, keys will be well distributed in the range from 0 to N −1 by a hash function, but in practice there may be two or more distinct keys that get mapped to the same index.
        1. As a result, we will conceptualize our table as a bucket array
      2. Hash Function: to map each key k to an integer in the range [0,N − 1], where N is the capacity of the bucket array for a hash table.
        1. AbstractHasMap
          1. createTable()
            1. bucketGet(h,k)
              1. bucketPut()
                1. bucketRemove(h,k)
                  1. entrySet()
                Show full summary Hide full summary

                Similar