Bloomberg | Design LinkedHashMap

4340
Nov 02, 2017
May 08, 2020

Design a data structure with requirements:

  1. You have a <Key, Value> structured input data for all objects
  2. Where you have
    Insert : O(1)
    Lookup : O(1)
    Delete : O(1)
  3. You can traverse the added elements in the order they were inserted.
Comments (2)