Skip to content

Commit 571ef25

Browse files
Update two-sum.cpp
1 parent 1745d8f commit 571ef25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

C++/two-sum.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Solution {
1616
}
1717
};
1818

19-
Above solution is of O(n^2) time complexity
19+
// Above solution is of O(n^2) time complexity
2020

2121
//O(n) time complexity
2222
//O(n) space complexity
@@ -38,4 +38,4 @@ vector<int> twoSum(vector<int> &numbers, int target)
3838
return finalresult;
3939
}
4040
}
41-
}
41+
}

0 commit comments

Comments
 (0)