How to interpret the input format?

  • 0

    My first submission failed, and I don't understand the input format. Can someone explain it to me?

    Input: 1,[get(0)]
    output: [-1]

    What does this mean and why?


Log in to reply

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