-TierI Interview Prep > More Sorting > Flashcards
What is quicksort space complexity and why?
O(logn). Because while it’s in place, it still calls itself recursively which uses O(logn) space on the stack