What is the time complexity of Collections.sort(stack), where stack has n elements inside.

I would really appreciate some inputs on this.

Comments (0)