I know I need to sort both arrays first then I want to do a linear compare.... I just don't know how to write it. Here is what I have. Some guidance would be great, Thanks!
Algorithm arrayEqual(A, B )
Input: Arrays A and B of n elements
Ouput: 1 or 0
This post has been edited by swim_5318: 13 September 2012 - 03:13 AM

New Topic/Question
Reply



MultiQuote





|