Search:

Type: Posts; User: helloworld922

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    2,773

    Re: optimized selection sort

    Sounds right to me.

    With your [2,3,4,5,1] example, you could define a special case where the number of indices involved is 3. Keep track of the 3 values, then place the min at the beginning, the...
  2. Replies
    3
    Views
    2,773

    Re: optimized selection sort

    Sounds like they're two distinct algorithms.
Results 1 to 2 of 2