Skip to content

Commit 9fa7cad

Browse files
Update Union_Arrays.cpp
1 parent b89a89e commit 9fa7cad

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

DSA 450 GFG/Union_Arrays.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
Union of the two arrays can be defined as the set containing distinct elements from both the arrays.
3+
If there are repetitions, then only one occurrence of element should be considered in the union.
4+
The final count should be printed.
5+
*/
16
#include <bits/stdc++.h>
27
using namespace std;
38

0 commit comments

Comments
 (0)