5 ms·
I would be happy if more than 1/10 interview candidates managed to pass my most basic programming questions. I consider my standards to be too low for the type
by jswinghammer 15y ago
I would be happy if more than 1/10 interview candidates managed to pass my most basic programming questions. I consider my standards to be too low for the type of jobs I interview people for and I'm still disappointed routinely.
- kahawe 15y agoHow basic are those questions if you don't mind me asking for details?
- Afton 15y agoI've resorted to starting with "find the greatest int in an array of ints". And yes, I'm routinely disappointed.
- bostonpete 15y agoEasy -- quicksort! :-)
- Afton 15y agoActually, if their solution is bit luke-warm, I often follow up with 'now find the second greatest int'. Those that don't consider sorting the array go in the big pile. :)
- Yeroc 15y agoI'm curious why you'd choose an algorithm that on average takes O(n log n) comparisons with a O(n^2) worst case versus simply iterating O(n)? Unless there are other requirements I don't see why you'd suggest sorting the elements.
- bostonpete 15y agoI certainly wouldn't choose that algorithm. I thought the correct solution was obvious enough that I could joke about it...