Hi,I stuck with a problem.I have two arrays
What I need is, 1 is related to 3(they have same index )again 1 is related 4.Now 3 is related to 2,3 is related to 5,4 related to 6,4 related to 7.
Now the required result should be "1,2,3,4,5,6,7 have relation to each other".
Again the program should be able to find the related numbers among the other elements in the array.Here next result is "8,9,10 have relation to each other".
I have tried to use hash but keys having same value created problem.How can I solve this problem?