In a given array of elements like [a1, a2, a3, a4, ..... an, b1, b2, b3, b4,
....... bn, c1, c2, c3, c4, ........ cn]

without taking a extra memory how to merge like [a1, b1, c1, a2, b2, c2, a3,
b3, c3, ............ an, bn, cn] ..???

Time complexity should be o(n). you can not use stack or any other space of
order n.

-- 
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.

Reply via email to