<?xml version="1.0" encoding="windows-1252"?>
<node id="382735" title="Re^3: Finding longest palindrome from a string" created="2004-08-13 12:00:06" updated="2005-07-03 18:08:18">
<type id="11">
note</type>
<author id="114691">
Aristotle</author>
<data>
<field name="doctext">
&lt;p&gt;Ouch. Thanks for catching that. Only doing &lt;tt&gt;length / 2&lt;/tt&gt; iterations was a remnant from a slightly different approach I abandoned half-way in. I even tested the final code on a bunch of different inputs but somehow managed not to run into this issue&amp;hellip; ugh.&lt;/p&gt;

&lt;p&gt;Sometimes I wonder if I should add &lt;em&gt;Boneheaded Mistakes R Us&lt;/em&gt; to my signature.&lt;/p&gt;

&lt;div class="pmsig pmsig-114691"&gt;
&lt;p align="right"&gt;&lt;em&gt;Makeshifts last the longest.&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;</field>
<field name="root_node">
382567</field>
<field name="parent_node">
382719</field>
</data>
</node>
