We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae40165 commit 4debfa5Copy full SHA for 4debfa5
Patterns/Arrays/Basic/RemoveDuplicatesFromSortedArray.txt
@@ -0,0 +1,5 @@
1
+Brute: Store in a set
2
+Optimal: Two pointers, one to iterate and one to store the index of the last unique element
3
+
4
5
+https://leetcode.com/problems/remove-duplicates-from-sorted-array/description/
0 commit comments