@snehal
can elements can be in any order??
i mean if ith row contains {1,2,3,4} and jth column contains {4,3, 2,1}
it will be a match or not >>On Tue, Jan 25, 2011 at 7:02 PM, snehal jain <[email protected]> wrote: > you have a matrix containing integers (no range provided). The matrix > is randomly populated with integers. We need to devise an algorithm > where by we find a row number which matches exactly with a column > within the matrix. We need to return the row number and the column > number for the match. The order of of the matching elements is the > same. For example, If, i'th row matches with j'th column, and i'th row > contains the elements - [1,4,5,6,3]. Then jth column would also > contain the elements - [1,4,5,6,3]. Given an n x n matrix . > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<algogeeks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- Sunny Aggrawal B-Tech IV year,CSI Indian Institute Of Technology,Roorkee -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
