Leetcode 1.两数之和

22 阅读1分钟

题目

image.png

image.png

这里*returnsize因为函数不能返回多个值,需要指针传递,实际上需要返回两个值