Bloomberg Interview Question

Could you write an quick sort algorithm, you can use any language.

Interview Answers

Anonymous

Jun 27, 2010

Simply and straightforward.

Anonymous

Aug 30, 2010

for (i = 0; i a[j]) { temp = a[i]; a[i] = a[j]; a[j] = temp; } } }