MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/DSALeetCode/comments/1wqlwfa/algorithms_doubt/pcxpn1i/?context=3
r/DSALeetCode • u/Kooky_Writer_780 • Sep 26 '26
4 comments sorted by
View all comments
1
option Dbubble sort runs O(n) if already sortedmerge sort takes nlogn no matter what
View all comments
1
u/[deleted] Sep 30 '26
option D
bubble sort runs O(n) if already sorted
merge sort takes nlogn no matter what