Sanjaykumar-IT / dsa-problems

coding problems
1 stars 4 forks source link

Find the union of arrays in sorted order #21

Open Sanjaykumar-IT opened 1 month ago

Sanjaykumar-IT commented 1 month ago

Input: a = [1, 1, 2, 2, 2, 4], b = [2, 2, 4, 4] ( Both a and b are sorted arrays)

Output: [1,2,4]