All pastes #737179 Raw Edit

Untitled

public java v1 · immutable
·published 2007-10-15 05:25 UTC
rendered paste body
    public static void sort(int[] list){        for(int i = 1; i<list.length; i++){            printLOL(list);            int temp = list[i];            int j = i - 1;            while(j>=0 && list[j] > temp){                list[j+1] = list[j];                j--;                list[j+1] = temp;                printLOL(list);            }        }    }