I doesn't include what the output should be formatted as. It doesn't indicate what to return if there doesn't exist a pair. Lastly, the return indices should not start at 1! They should start at 0!
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.