Search:

Type: Posts; User: Medo Almasry

Search: Search took 0.12 seconds.

  1. Replies
    3
    Views
    1,721

    Re: SORTING ALGORITHMS...

    Actually I appreciate your help both of you...
    but this is a MODIFIED SELECTION SORT :D
    The purpose is to find min and post it at beginning, find max and post it at the end in every pass...
  2. Replies
    3
    Views
    1,721

    SORTING ALGORITHMS...

    public class PAS2 {

    public static void main(String[] args) {
    int[] x = {1,4,2,6,5,3,4};
    for(int z : modifiedselectionsort(x)){
    System.out.print(z + "\t");
    }

    public static int[]...
Results 1 to 2 of 2