SPUG: PERL technical interview

JD Brennan jazzdev at gmail.com
Mon Jan 23 10:58:01 PST 2006


On 1/21/06, Creede Lambard <creede at penguinsinthenight.com> wrote:
>
> Come up with a good way to reverse a string. I get asked that about two
> out
> of three interviews, it seems like. Oh, and no one seems to like
>
>   print join ('', reverse( split (//, $string)));
>
> which seems unfair to me. I mean, if they're going to expect me to use
> Perl,
> I should be able to use Perl, not use Perl in a particular way they
> mandate


The goal of the interview coding question is to try
to gain insight into how you think and how you tackle
problems.   So asking for more than one solution can
enable the interviewer to gain more insight.

JD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/spug-list/attachments/20060123/0be58d33/attachment.html


More information about the spug-list mailing list