📅  最后修改于: 2022-03-11 14:55:27.702000             🧑  作者: Mango
You need to sort just the smaller vector.
Then do a single pass over the bigger vector and test a presence
of its items in a smaller vector by using a binary search.
(works in distinct elements of array)