---
title: "Discussion on \"Union and Intersection of 2 Sorted Arrays with duplicates\" | Hashnode"
description: "Discussion on \"Union and Intersection of 2 Sorted Arrays with duplicates\". Problem Statement: Given 2 sorted arrays of different sizes with duplicates, find the union and intersection of the arrays.\nLet's start off with the intersection of 2 sorted arrays. It is a fairly easy problem but one needs to take care of the edge c..."
url: "https://hashnode.com/posts/union-intersection-arrays/5ffab000aa5c467fe1559346"
---

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

Discussion

# [Union and Intersection of 2 Sorted Arrays with duplicates](https://vineethm.hashnode.dev/union-intersection-arrays?utm_source=hashnode&utm_medium=feed)

Problem Statement: Given 2 sorted arrays of different sizes with duplicates, find the union and intersection of the arrays. Let's start off with the intersection of 2 sorted arrays. It is a fairly easy problem but one needs to take care of the edge c...

Jan 10, 2021 · 7 min read · vineethm.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#competitive-programming](https://hashnode.com/tag/competitive-programming)

## Written by

[M.Vineeth](https://hashnode.com/@vineethm1627)

@vineethm1627 · India

  
[View profile](https://hashnode.com/@vineethm1627)

Data Structures and Algorithms 💯

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
