---
title: "Discussion on \"How to Remove Duplicates from a Sorted Array\" | Hashnode"
description: "Discussion on \"How to Remove Duplicates from a Sorted Array\". Learn how to remove duplicates from a sorted array using set and two-pointers techniques with examples and complexity analysis"
url: "https://hashnode.com/posts/how-to-remove-duplicates-from-a-sorted-array/6662d2bab763894e6af57d47"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Remove Duplicates from a Sorted Array](https://blog.masum.dev/how-to-remove-duplicates-from-a-sorted-array?utm_source=hashnode&utm_medium=feed)

Learn how to remove duplicates from a sorted array using set and two-pointers techniques with examples and complexity analysis

Jun 7, 2024 · 4 min read · blog.masum.dev  
Read the article

-   [#dsa](https://hashnode.com/tag/dsa)
-   [#dsa-series](https://hashnode.com/tag/dsa-series)
-   [#dsainc](https://hashnode.com/tag/dsainc)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#array](https://hashnode.com/tag/array)
-   [#two-pointers](https://hashnode.com/tag/two-pointers)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#problem-solving](https://hashnode.com/tag/problem-solving)
-   [#remove-duplicates-in-an-array](https://hashnode.com/tag/remove-duplicates-in-an-array)

## Written by

[Mahbub Alam Masum](https://hashnode.com/@masum-dev)

@masum-dev · Dhaka, Bangladesh

  
[View profile](https://hashnode.com/@masum-dev)

Computer Science Undergraduate • Aspiring Backend Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
