What is worst case complexity of quick sort?

1 answer

Answer

1211080

2026-07-26 04:45

+ Follow

Selection sort has no end conditions built in, so it will always compare every element with every other element.

This gives it a best-, worst-, and average-case complexity of O(n2).

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.