Originally Posted by
raj reddy
yes we have to compare the next 5 elements also sanjeev
it will continue upto the last 5 elements in the array
Ok .... at last you are comparing all elements of list1 with list2 ...am i right.
then why are you comparing like that ......??
what i understand is that : when you find an element of list1 in to list2's top 5 you will do something or exit the loop...if you do not find in first 5 then you will search next 5.....am i right
sanjeev