Open Sanjaykumar-IT opened 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]
Input: a = [1, 1, 2, 2, 2, 4], b = [2, 2, 4, 4] ( Both a and b are sorted arrays)
Output: [1,2,4]