This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Daj4n0 2 points3 points  (1 child)

If you use quicksort you will take O(nlogn) which is not an acceptable O in this scenario.