←back to thread

108 points atan2 | 3 comments | | HN request time: 0.609s | source
1. Findecanor ◴[] No.46226011[source]
I've used bubblesort in a coding interview, because it was the easiest to remember and get correct on a whiteboard in short time.-
replies(1): >>46226115 #
2. sureglymop ◴[] No.46226115[source]
Reminds me of an interview I had a while ago. The interviewer in all seriousness asked me to code up a sorting algorithm on the whiteboard. He was more of a business person than technical so was probably thinking of insertion, selection and bubblesort.

I said sure, quicksort, mergesort or radixsort?

He just said "okay, let's skip to the next question". :)

replies(1): >>46229510 #
3. arethuza ◴[] No.46229510[source]
I'd be tempted to ask under what circumstances they'd expect me to be coding a sorting routine... Seems a bit like asking an accountant to add two 10 digit numbers.