Bloomberg: Design Data structure

  • 0

    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.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.