Amazon interview question

what is the bubble sort algorithm

Interview Answers

Anonymous

21 Nov 2011

int[] bubbleSort( int[] input ) { int swap_occurred = 1; while (swap_flag) { swap_occurred = 0; for (int i=0; i

Anonymous

28 Oct 2010

the alogrythm used for