Array of 2n length is given {a1,a2,a3,...,an,b1,b2,b3,...,bn} we have to make the array like as {a1,b1,a2,b2,a3,b3,...,an,bn} without using extra buffer space. here a solution i came up with http://codepad.org/ub5Ie4sI I know this was discussed before . But i want to know the time complexity of the code i have given(i m confused)
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@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.