Top "Hashtable" questions

A hash table in programming is a collection that uses a hash function to map identifying values (keys) to their associated values.

Hash function for floats

I'm currently implementing a hash table in C++ and I'm trying to make a hash function for floats... I was …

c++ floating-point hashtable hash-function
Create a Hash Table with two arrays

Does anyone know how to do this and what the pseudo code would look like? As we all know a …

hashtable pseudocode
Trie complexity and searching

What is the complexity of creating a trie of a list of words and what is complexity of searching other …

algorithm data-structures time-complexity hashtable trie
Why do we use linear probing in hash tables when there is separate chaining linked with lists?

I recently learned about different methods to deal with collisions in hash tables and saw that the separate chaining with …

performance algorithm hash hashtable time-complexity
Get size of ActionScript 3 Dictionary

var d:Dictionary = new Dictionary(); d["a"] = "b"; d["b"] = "z"; How to get the length/size of the dictionary (…

flash actionscript-3 actionscript dictionary hashtable
Most concise way to initialize a C# hashtable

Does C# allow hashtables to be populated in one-line expressions? I am thinking of something equivalent to the below Python: …

c# hashtable
Why implement a Hashtable with a Binary Search Tree?

When implementing a Hashtable using an array, we inherit the constant time indexing of the array. What are the reasons …

data-structures hashtable binary-search-tree
How to check if an associative array is empty in powershell

$a = @() How do I check if $a above is empty (which it is). I would like to get $true as …

powershell hashtable powershell-4.0 is-empty
How to append to powershell Hashtable value?

I am interating through a list of Microsoft.SqlServer.Management.Smo.Server objects and adding them to a hashtable like …

sql-server powershell hashtable smo