gdscpce / gdscpce/hacktober-codesnippet

Remove Duplicates from Sorted Array

Open
#7 8 comments 0 reactions 1 assignee Claimed by @Akash221104 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.