This question shows research effort; it is useful and clear
-2
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
Say array1=[|1;2;3;4;5;6|],array2=[|7;6;5;4;3|]
basically, I want an array which contains the common elements of array1 and array2 AND in the sorted as array1. In this case, I should return array [|3;4;5;6|].
Can anyone help?