gdscpce / gdscpce/hacktober-codesnippet
Remove Duplicates from Sorted Array
Open
hacktoberfest
- Dominant language
- C
- Stars
- 1
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Given an integer array `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. Then return the number of unique elements in `nums`.
Follow and Read the Contributing Guidelines.
Only the assigned person is allowed to raise the PR on this Issue.
To get this issue assigned to you comment on this issue.
`Note:` The code can be written in any language of your choice.
Contributor guide
Assessment
This issue has not been assessed yet.