Search:

Type: Posts; User: maple1100

Search: Search took 0.17 seconds.

  1. Replies
    2
    Views
    1,324

    Re: Java selection sort

    Thanks for the hints on the value of max.
    Here is my new code and it working, but I don't understand why the inner loop need to have an index of max which = i for it to work.


    public static...
  2. Replies
    2
    Views
    1,324

    Java selection sort

    I'm currently doing selection sort and this is my method to sort a array of string into alphabet order. I interpret the code line by line into words and test it by hand it seem to make sense but when...
Results 1 to 2 of 2