You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
563 B
12 lines
563 B
5 years ago
|
---
|
||
|
id: hash-table
|
||
|
title: Hash Table
|
||
|
---
|
||
|
|
||
|
Hash Table
|
||
7 years ago
|
|
||
|
- Describe an implementation of a least-used cache, and big-O notation of it.
|
||
|
- A question involving an API's integration with hash map where the buckets of hash map are made up of linked lists.
|
||
|
- Implement data structure `Map` storing pairs of integers (key, value) and define following member functions in O(1) runtime: `void insert(key, value)`, `void delete(key)`, `int get(key)`, `int getRandomKey()`.
|
||
|
- [Source](http://blog.gainlo.co/index.php/2016/08/14/uber-interview-question-map-implementation/).
|