Skip to content

Commit f93b8e8

Browse files
committed
removed unused args
Signed-off-by: rajput-hemant <[email protected]>
1 parent 1b3cb1b commit f93b8e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/0001-0100/026 - Remove Duplicates from Sorted Array/RemoveDuplicatesFromSortedArray.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
def removeDuplicates(self, nums: list[int]) -> int:
1+
def removeDuplicates(nums: list[int]) -> int:
22
k = 0
33
for i, item in enumerate(nums):
44
if i < len(nums) - 1 and item == nums[i + 1]:

0 commit comments

Comments
 (0)