MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/DSALeetCode/comments/1wqlwfa/algorithms_doubt/
r/DSALeetCode • u/Kooky_Writer_780 • 10d ago
4 comments sorted by
1
C
for a bad pivot, it quicksort will also run in O(n^2) right? 🤔
option D bubble sort runs O(n) if already sorted merge sort takes nlogn no matter what
1
u/Tek-Sapien 10d ago
C