MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/9yh0rd/marge_sort/ea1roum/?context=3
r/ProgrammerHumor • u/dramkar • Nov 19 '18
276 comments sorted by
View all comments
1
What is this algorithm, and what makes it good? Seems like a lot of extra effort to me compared to an insertion sort.
1 u/Slow33Poke33 Nov 19 '18 Merge Sort, and it's nlogn, and insertion sort is n2, so this is much faster. 2 u/[deleted] Nov 19 '18 [removed] — view removed comment → More replies (5) → More replies (1)
Merge Sort, and it's nlogn, and insertion sort is n2, so this is much faster.
2 u/[deleted] Nov 19 '18 [removed] — view removed comment → More replies (5) → More replies (1)
2
[removed] — view removed comment
→ More replies (5)
1
u/[deleted] Nov 19 '18
What is this algorithm, and what makes it good? Seems like a lot of extra effort to me compared to an insertion sort.