Coinbase interview question

Create a dictionary data structure using only a single array. Key and Values are strings.

Interview Answer

Anonymous

Dec 20, 2019

Initialize array of specific length, send string through hash function and mod to get an index for string in array, deal with collisions using chaining.

1