Input triggering runtime error


  • 0
    A

    I have the following runtime error for the Last executed input: :

    ["LFUCache","set"
    "get"]
    [[0],[0,0],[0]]

    Can anyone explain to me how should i understand this ? ( why the input seems to be malformated? ).
    I can't add this line in the additional test case.


  • 0
    A

    I just understand that the first number is for the capacity, my mistake


Log in to reply
 

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