Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    7
    Views
    2,840

    Re: Selection sort code needs reverse

    Have you worked through the logic on paper so you know how it is supposed to work?
  2. Replies
    7
    Views
    2,840

    Re: Selection sort code needs reverse

    I guess the idea would be to move the max value's index to the bottom of the list.
  3. Replies
    7
    Views
    2,840

    Re: Selection sort code needs reverse

    Where in your logic do you chose the biggest item?
    Can you change that logic to chose the smallest?
Results 1 to 3 of 3