Description of the problem should be updated


  • 0
    D

    The test cases do not match the specification of the "get". The specification of the "get" does not mention updating the LRUCache when get is called only for put. This will need to be wrote up in the Solution if someone gets the time.


Log in to reply
 

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