Closed Amit-45 closed 3 years ago
Problem statement:- Given 2 sorted arrays, find all the elements which occur in both the arrays. Input : A : [1 2 3 3 4 5 6] B : [3 3 5]
Output : [3 3 5] I am using Python3 I would like to solve this question as a part of the LGM-SOC'21 participants.
@suy1968 mention the language
@suy1968 mention the language
Mentioned
@Ayush7614 @Amit366 Please assign me this issue I would like to solve this question as a part of the LGM-SOC'21 contest.
Given two sorted arrays, find their intersection . Example:
Input : arr1[] = {1, 2, 4, 5, 1, 1} arr2[] = {2, 3, 5} Output : Intersection : {2, 5}
I will be providing the solution in JAVA.
@Ayush7614 @Amit366 Please assign me this issue I would like to solve this question as a part of the LGM-SOC'21 contest.
Given two sorted arrays, find their intersection . Example:
Input : arr1[] = {1, 2, 4, 5} arr2[] = {2, 3, 5} Output : Intersection : {2, 5}
I will be using CPP.