Software Engineer · Mid-Level · Phone Screen
The coding question I received was: Implement a weighted cache with the following requirements: - Implement `get` and `put` operations. - The cache has a total weight limit. - When the limit is reached, the key-value pair with the largest weight should be remo...