home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!haven.umd.edu!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!en.ecn.purdue.edu!krauskop
- From: krauskop@en.ecn.purdue.edu (Curtis D Krauskopf)
- Subject: Re: New Employee Test
- Message-ID: <1992Nov20.032227.16407@en.ecn.purdue.edu>
- Organization: Purdue University Engineering Computer Network
- Date: Fri, 20 Nov 92 03:22:27 GMT
- Lines: 33
-
- (Eric Rescorla) writes:
- >I don't believe that in fact quicksort is a standard library function.
- >You should not be fooled by the fact that the standard library function
- >is called qsort(). K&RII certainly doesn't specify that the algorithm
- >used to do the sort will in fact be quicksort. It could, for instance,
- >be heapsort, as far as I can tell.
- >
-
- The idea behind suggesting quicksort (or qsort) shows that the
- applicant is aware of functions in a standard commercial C library
- and will not attempt to reinvent the wheel. I _did_ interview one
- fellow that admitted he didn't use the library functions 'because he
- didn't trust them'. *shrug* Good thing I found that out before
- he was on my payrole.
-
- >Also, I'd note that you specified that the guy should create a bubble
- >sort. One might believe that you had a specific reason why you wanted
- >that. I certainly wouldn't tell someone who was writing code for me
- >that I wanted a bubble sort unless that's what I actually wanted.
-
- I try to make it clear to the candidate that they are free to make
- suggestions, but you are correct that I do not specifically tell them
- that. I will try doing that for the next few interviewees to see how
- that works out. I do not want a 'yes-man' working for me and I like to
- see creativity in an applicant's ideas. On the other hand, I do not want
- to eliminate a potentially excellent employee simply because they were
- intimidated by the interviewing process.
-
- Good points.
-
- Curtis
-
-
-