@above you cant increment On Tue, Apr 26, 2011 at 3:48 PM, Naveen Agrawal <nav.coo...@gmail.com>wrote:
> @snehal jain > > 4 9 8 7 8 >> o/p 4 7 7 7 8 >> cost 3 by decrementing 9 n 8 > > > Yes, now question is clear but your last example is incorrect. > > > 4 9 8 7 8 > o/p 4 8 8 8 8 > cost 2 = decrementing (9 to 8) + incrementing (7 to 8) > > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.