Leetcode刷題筆記1:Two Sum

    /**  * Note: The returned array must be malloced, assume caller calls free().  */ int* twoSum(int* nums, int numsSize, int target)  {     int i,j,flag=0;     int *s = (int*)malloc(2*sizeof(int));
相關文章
相關標籤/搜索