Because here we can not reOrder words, Greedy seems to work fine to me too, i am not able to come up with an contradictory example..........will post if will get one....... or post if any one can.
but here <http://mitpress.mit.edu/algorithms/solutions/chap15-solutions.pdf>is the DP solution to the problem -- Sunny Aggrawal B-Tech IV year,CSI Indian Institute Of Technology,Roorkee -- 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?hl=en.
