If I were interviewing for a Perl or PHP position, then yes. However, if
I just wanted to see if they knew the algorithm, I'd let them use
whatever language they were most comfortable in, provided those of us
interviewing also knew the language.
I think C++ is more common now for data structures and algorithms.
-id
On 05/26/2011 10:34 AM, Prasad, Ramit wrote:
When giving an interview, I ask interviewees to write samples of code.
Would you ask your code samples for a python (or XXX language) position do you
have them code it in...C or actually code it in Python (or XXX language)?
Another favorite of mine was asking a candidate to write a piece of code that
took a paragraph of text as a parameter, and while maintaining the order of the
sentences, reverse the order of the words in each sentence.
I ask because this would be fairly easy in Python (admitted my interview
solution would have problems with handling punctuations), but probably a lot
more complex in something like C.
Is C still the standard interviewing basis for the computer science basics
(e.g. data structures, algorithms, etc)?
Ramit
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor