Search:

Type: Posts; User: helloworld922

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    2,849

    Re: Help with Sort arrays

    I wouldn't use hashing to sort elements. Effective data structures for sorting are heaps, and search trees. Arrays aren't too bad either, but hash tables are no good because there is effectively no...
  2. Replies
    5
    Views
    2,849

    Re: Help with Sort arrays

    Bubble sort is NOT easy. Selection sort is :) err, or maybe insertion sort is. Both are O(n^2) worst case, but insertion sort has a better average case (I don't think it's been proven, but it's best...
Results 1 to 2 of 2