Maps, Hash Tables, and Skip Lists

Descrição

Mapa Mental sobre Maps, Hash Tables, and Skip Lists, criado por Angelica Cordero em 31-05-2022.
Angelica Cordero
Mapa Mental por Angelica Cordero, atualizado more than 1 year ago
Angelica Cordero
Criado por Angelica Cordero mais de 3 anos atrás
2
0

Resumo de Recurso

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()