So, bunny, ifyoudon't mindhelpingdirectustheretodirectushere, weclearlyhavenowanunsortedlistofnumbers.
Let's justbiteoffthisproblemonebitat a time.
So, forinstance, YouTubeyournamesagain.
TressandCurtis.
Soyouguysareclearlyoutoforder.
Sowhatwouldbethelocallyoptimalsolutionhere?
TheywereswitchedShorter's OK, Pleasedothat.
Allright, Now, let's considersixandeight.
Uh, they'refine.
OK, 85.
Let's againpleaseswitchagain.
Eightandtwo.
SuchOkay.
Eightand 78 andfour.
Sucheightandone.
Allright.
Sohavewesolvetheproblem, okay?
No, obviouslynot, butisitbetter?
Areweclosertothesolution?
I mean, I'd arguewearecloserbecauseright, like, eightsomehowmadeitswayallthewaytothecorrectdestination, eventhoughwestillhavekindof a messheretofix.
Butnoticethatthesolutiongotbetterinthisdirectionand a littlebetterthisdirection.
Butwe'regoingtodothisagain.
So, Bonnie, canyoudirectusoncemore?
Uh, yeah.
Soifyouwouldproceedfromthisorder, uh, youtwowouldswitchfiveand 66 andtoremain, andthenthenextperson's sevenandfourhorse, which I sevenandoneinchandthen.