what is the average case and worst case time complexity for quicksort?
Anonymous
O(n^2) worst case O(n lg n) average case Benefits also being that it sorts in place and works well in virtual memory environments.
Check out your Company Bowl for anonymous work chats.