"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Brandon Peeples wrote:... I need to find a way to compare the element of one array with all the other elements of the second array...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
SCJP 6
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
James Tharakan wrote:what if the value in the array are like this..
int[] list1 = {1, 10000, 1, 1, 2, 2, 3, 4, 5, 8, 12};
int[] list2 = {1, 1, 3, 3, 3, 3, 6, 6, 7, 7, 8, 9, 10, 11};
...
what if the value in the array are like this..
int[] list1 = {1, 10000, 0, 1, 2, 2, 3, 4, 5, 8, 12};
int[] list2 = {1, 1, 3, 3, 3, 3, 6, 6, 7, 7, 8, 9, 10, 11};