Folks
I have two arrays(single dimensional).I need to select a random element from one array and need to make sure that the selected number is not there in the second array.I need a function which needs to do this really efficient.
FYI, the first array will have 1 to 1000 elements while the second will have 1 to 50
Thanks