Skip to content

Commit f7dfe57

Browse files
Update src/c/TwoSum.c
Co-authored-by: Kelvin S. do Prado <kelvinpfw@gmail.com>
1 parent 0618e93 commit f7dfe57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/c/TwoSum.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ int* twoSum(int* nums, int numsSize, int target, int* returnSize){
2222
if(nums[i]+nums[j]==target)
2323
{
2424

25-
int * x =(int*) malloc(2*sizeof(int));
25+
int* x = (int*) malloc(2*sizeof(int));
2626
*returnSize=2;
2727
x[0]=i;
2828
x[1]=j;

0 commit comments

Comments
 (0)