I agree, this seems like freshman algo homework, ask TA for a hint. The algorithm I described previously works fine. and it's probly in one of the books anyways... U need something like a Potential function, and do some monkeying around with it and it all works out.
On Feb 11, 10:04 pm, Sunny <[EMAIL PROTECTED]> wrote: > Pls , you should not discuss your homework assignments on this group. : > ( > > On Feb 11, 5:12 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > This is an exercise problem in the book "Introduction to Algorithms" > > by CLR. Could any one come up with an algorithm to do it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---
