On 1/21/06, Creede Lambard<div><span class="gmail_quote"><b class="gmail_sendername"></b> &lt;<a href="mailto:creede@penguinsinthenight.com">creede@penguinsinthenight.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Come up with a good way to reverse a string. I get asked that about two out<br>of three interviews, it seems like. Oh, and no one seems to like<br><br>&nbsp;&nbsp;print join ('', reverse( split (//, $string)));<br><br>which seems unfair to me. I mean, if they're going to expect me to use Perl,
<br>I should be able to use Perl, not use Perl in a particular way they mandate</blockquote><div><br>
The goal of the interview coding question is to try<br>
to gain insight into how you think and how you tackle<br>
problems.&nbsp;&nbsp; So asking for more than one solution can <br>
enable the interviewer to gain more insight.<br>
&nbsp;</div>JD<br></div><br>