What is the most efficient way to remove all the elements of one array from another array?

前端 未结 3 2110
有刺的猬
有刺的猬 2021-01-12 03:47

I have two arrays, array A contains a long list with some elements I want to remove. Array B is the full list of those elements that I wish to remove from array A.

W

3条回答
提交回复
热议问题