What is the space complexity of quicksort algorithm?

1 answer

Answer

1238258

2026-03-15 14:56

+ Follow

The space complexity of the quicksort algorithm is O(log n) in the best and average cases, and O(n) in the worst case.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.