CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: arka.sharma

Search: Search took 0.03 seconds.

  1. Replies
    20
    Views
    18,764

    Re: A better algorithm

    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...
  2. Replies
    20
    Views
    18,764

    Re: A better algorithm

    Thanks for your reply and a nice suggestion to insert C values in hash table as this will require smaller hash table. But by better I mean less than O(n^2) let say O(n*logn) as your solution is also...
  3. Replies
    20
    Views
    18,764

    A better algorithm

    Hi,

    Sorry if this question has been asked before but I need some help on this as I am stuck on this for more than one year. The problem is as follows -
    I have three arrays A,B,C of same size let...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured