One more advantage of inserting C[k] in hash table is also there will be no collision as none of the array contains duplicate on the other hand a[i] + b[j] for different (i,j) pair might produce same...
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
Type: Posts; User: arka.sharma
Search: Search took 0.00 seconds.
Results 1 to 3 of 3
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.