Maps, Hash Tables, and Skip Lists

Beschreibung

Mindmap am Maps, Hash Tables, and Skip Lists, erstellt von Angelica Cordero am 31/05/2022.
Angelica Cordero
Mindmap von Angelica Cordero, aktualisiert more than 1 year ago
Angelica Cordero
Erstellt von Angelica Cordero vor mehr als 3 Jahre
2
0

Zusammenfassung der Ressource

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()
                Zusammenfassung anzeigen Zusammenfassung ausblenden

                ähnlicher Inhalt