Skip to content

Commit a34e9f3

Browse files
authored
Update js codes.docx
1 parent fcceb71 commit a34e9f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎js codes.docx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ function getSumPairZero(array)
259259
const result = getSumPairZero([-5,-4,-3,-2,-1,0,1,2,3,4,5])
260260
console.log(result)
261261
================================================================================================================================================================================
262-
Code 20: To find a first pair whose sum is zero using indexing
262+
Code 20: To find a first pair whose sum is zero using indexing //Firstly do a sort here
263263
function getSumPairZero(array)
264264
{
265265
let left = 0;

0 commit comments

Comments
 (0)