[Tutor] Python Interview Questions..

ian douglas ian.douglas at iandouglas.com
Thu May 26 20:15:12 CEST 2011


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110526/a8d4e44b/attachment.html>


More information about the Tutor mailing list