Skip to content

Files

Latest commit

694af3a · Oct 11, 2022

History

History
7 lines (4 loc) · 303 Bytes

File metadata and controls

7 lines (4 loc) · 303 Bytes

Remove Duplicates

Note: this question is taken from LeetCode

Objectives

Given an integer list nums sorted in non-decreasing order, remove the duplicates in-place such that each unique element appears only once. The relative order of the elements should be kept the same.