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?
问问题
690 次