why the format in question and in expected output it different


  • 0
    M

    why the output format in questions says

    Input: numbers={2, 7, 11, 15}, target=9
    Output: index1=1, index2=2

    and when i run my program it expect [1,2], isn't printing is not enough. please help


Log in to reply
 

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