From 046a2c87e97c99112c237abec0650d43b0473b04 Mon Sep 17 00:00:00 2001 From: Kiril Kovachev Date: Fri, 8 Mar 2024 16:56:44 +0000 Subject: [PATCH] Return length k in problem 26 --- python/remove_duplicates_from_sorted_array.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/remove_duplicates_from_sorted_array.py b/python/remove_duplicates_from_sorted_array.py index 117e87c..3820ac7 100644 --- a/python/remove_duplicates_from_sorted_array.py +++ b/python/remove_duplicates_from_sorted_array.py @@ -6,3 +6,4 @@ class Solution: del nums[i] else: current = nums[i] + return len(nums) \ No newline at end of file