Top "Hashmap" questions

A data structure that uses a hash function to map identifying values, known as keys, to their associated values

How std::unordered_map is implemented

c++ unordered_map collision handling , resize and rehash This is a previous question opened by me and I have seen …

c++ c++11 hashmap unordered-map
Which Java Collection should I use?

In this question How can I efficiently select a Standard Library container in C++11? is a handy flow chart to …

java algorithm arraylist collections hashmap
How do I create some variable type alias in Java

let say I have this code Map<String, String> list = new HashMap<String, String>(); list.put("…

java types hashmap alias
Selecting random key and value sets from a Map in Java

I want to get random keys and their respective values from a Map. The idea is that a random generator …

java dictionary random hashmap treemap
Java HashMap - deep copy

I am just trying to find out the best solution how to make a deep copy of HashMap. There are …

java hashmap deep-copy
How is the internal implementation of LinkedHashMap different from HashMap implementation?

I read that HashMap has the following implementation: main array ↓ [Entry] → Entry → Entry ← linked-list implementation [Entry] [Entry] → Entry [Entry] [null ] …

java hashmap linkedhashmap
Python dictionary keys. "In" complexity

Quick question to mainly satisfy my curiosity on the topic. I am writing some large python programs with an SQlite …

python dictionary hashmap complexity-theory big-o
Populating a hashmap with predefined values (java)

I've run into a problem I haven't had to deal with before. I'm writing a patch for a database in …

java hashmap auto-populating
Filter map for values of None

I've searched around a bit, but haven't found a good answer yet on how to filter out any entries into …

scala functional-programming hashmap filtering
Populate an enum with values from database

I have a table which maps String->Integer. Rather than create an enum statically, I want to populate the …

hashmap enumeration java