Y
Hacker News
new
|
ask
|
show
|
jobs
by
marblar
4773 days ago
Has anybody here ever actually been asked to exactly implement quicksort?
3 comments
stephencanon
4773 days ago
Yes, by Microsoft in 2001. (Strangely, by a non-technical recruiter who wouldn't have known if it were correct or not anyway; apparently he was trying to "gauge my confidence".)
link
sushantsharma
4773 days ago
More than once. Also, merge sort, heap sort, and some problem specific variations of these.
link
peterbotond
4773 days ago
quicksort, shellsort, then implement it for parametric type.
link
lsiebert
4773 days ago
I am not even sure what implementing it for a parametric type means... can someone point me to a link?
link
fazzone
4773 days ago
Parametric type means to take the type as a parameter; parent was probably asked to use Generics in C# or Java or C++ templates.
link
lsiebert
4772 days ago
Ah, ok
link