FigmaSoftware Engineer · Technical ScreenCodemia practiceImplement Hash Map with in-place
Implement a hash map data structure that supports insert, delete, and lookup operations in O(1) average time complexity. Your implementation should handle collisions using chaining or open addressing, and it should allow for dynamic resizing when the load factor exceeds a certain threshold. The input will consist of a series of key-value pairs for insertion, keys for deletion and lookup, and the output should be the result of the lookup operations.
Medium
Coding & Algorithms