Siemens interview question

To check How I code, he asked me to write code for sorting. Asked me which is the fastest sorting method.

Interview Answer

Anonymous

10 Apr 2016

I said fastest, I suppose is doublepivotquicksort, which java itself uses in arrays.sort(). He asked me to write a code for it. I said I do not remember, He said ok you can write any sort method you know, and that he just wants to see how I code. I wrote bubble sort because for that I did not need anytime.