← Questions
Design a dictionary whose keys and values have mixed types
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Design a key-value dictionary in which keys and values can be of different types and lengths. Explain how you hash and compare keys of different types, how collisions are handled, how variable-length data is stored and who owns that memory, and what the interface looks like.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
