> -----Original Message-----
> From: Dave Hoover [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 01, 2002 10:23 AM
> To: Ala Qumsieh
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: TPR(0,2) Begins
> 
> 
> Ala Qumsieh wrote:
> >In the 6th test case, shouldn't the expected value be:
> >
> >foo foo
> >acres cares races scare
> >alerts alters salter slater
> >airers ariser raiser sierra
> >deus dues sued used
> >reins resin rinse risen siren
> >
> >instead of :
> >
> >foo foo
> >acres cares races scare
> >airers ariser raiser sierra
> >alerts alters salter slater
> >deus dues sued used
> >reins resin rinse risen siren
> 
> No, the test program is correct.  The line that begins with 'alerts' 
> should come after the line that begins with 'airers'.  Both lines 
> have four anagrams, so they should be sorted alphabetically by their 
> first word.

>From what I understood from the rules, the "first word" referred to the
first word of each line BEFORE it was sorted. The line with 'alerts' starts
with:

        salter alerts slater alters

and that with 'airers' starts with:

        sierra airers ariser raiser

So, I figured that the order was wrong.

Anyway, I guess I misunderstood :)
Just wanted to clarify in case someone else makes the same mistake. Now back
to squeezing the chars!

--Ala

Reply via email to