Question about expected output


  • 0
    T

    I noticed that when I take the following as input:

    [2147483646]
    1
    2147483647

    the expected answer is:
    ["1->2147483645"]

    but I think in this case, the answer should be ["1->2147483645", "2147483647"]
    am I wrong?
    Thanks


Log in to reply
 

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