@Aseem: Combine the arrays and sort the result. O(mn log mn). Dave
On Jul 16, 4:13 am, aseem garg <ase.as...@gmail.com> wrote: > Q2. Given m arrays of n size each, give an algorithm to combine these arrays > into a single array with sorted elements. Also tell the time complexity of > your solution. > Aseem -- 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.