logoalt Hacker News

Findecanortoday at 12:18 AM1 replyview on HN

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

sureglymoptoday at 12:31 AM

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". :)