Skip to content

Commit b7ce847

Browse files
refactor : triplet (#7031)
1 parent cafee8b commit b7ce847

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Python/cp/find_Triplets_with_zero_sum.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
'''
2-
Author : Mohit Kumar
32
Python program to find triplets in a given array whose sum is zero
43
'''
54
# function to print triplets with 0 sum
@@ -86,7 +85,6 @@ def find_Triplets_with_zero_sum(arr, num):
8685
Time Complexity : O(n^2).
8786
Only two nested loops is required, so the time complexity is O(n^2).
8887
89-
Auxiliary Space : O(1), no extra space is required,
90-
so the time complexity is constant.
88+
Auxiliary Space : O(1),
9189
9290
'''

0 commit comments

Comments
 (0)