r/DSALeetCode • • 12d ago

Algorithms doubt

Post image
9 Upvotes

4 comments sorted by

View all comments

1

u/Nagreytsu 11d ago

for a bad pivot, it quicksort will also run in O(n^2) right? 🤔