3 ms·
I've used bubblesort in a coding interview, because it was the easiest to remember and get correct on a whiteboard in short time.-
by Findecanor 10mo ago
I've used bubblesort in a coding interview, because it was the easiest to remember and get correct on a whiteboard in short time.-
- sureglymop 10mo agoReminds 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". :)
- arethuza 10mo agoI'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.