Anybody try for maintain the stable of elements in O(n) as like Input is :{1,2,3,4,5,6,7} then Output should be (2,4,6,1,3,5,7) not..........
{2,4,6,1,5,3,7} base on above discussion .................. -- 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.