Where should I look if I want to write a piece of code which looks for Array1 in Array2, regardless of the order (keeping the duplicates in mind)? e.g.
Array1: { 2,5,6,6,3 }
Array2: { 1,2,3,4,5,6,6 }
will return true
Array1: { 2,5,6,6,3 }
Array2: { 1,2,3,4,5,6 }
will return false
I sort of want to solve it myslef, I just need to be pointed in some direction.
Thanks in advance.