We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad7f983 commit 478cc36Copy full SHA for 478cc36
data_structures/arrays/find_triplets_with_0_sum.py
@@ -91,9 +91,7 @@ def find_triplets_with_0_sum_hashing(arr: list[int]) -> list[list[int]]:
91
92
3. Handles Duplicate efficiently by skipping repeated values.
93
"""
94
-
95
96
-def find_triplets_with_0_sum_two_pointer(arr: list[int]) -> list[list[int]]:
+def find_triplets_with_0_sum_two_pointer(nums: list[int]) -> list[list[int]]:
97
98
Function for finding the triplets with a given sum in the array using hashing.
99
0 commit comments