Frage im Vorstellungsgespräch bei Intel Corporation

Implement bubble sort

Antwort im Vorstellungsgespräch

Anonym

8. Aug. 2012

void Bubble_Sort (my_class *arr, int size) { int i,j; for (i =0; i arr[j+1]) swap (arr[j], arr[j+1]); } }