Consider n elements that are equally distributed in k stacks. In each stack, elements of it are arranged in ascending order (min is at the top in each of the stack and then increasing downwards). Give
1.O(n logk)
2.O(nk)
3.O(k)
4.O(n)
Posted Date:-2021-06-24 02:10:39