Yik Yak icon
Join communities on Yik Yak Download
What’s your favorite sorting algorithm
#poll
Merge sort
Quick sort
Insertion sort
Bogo sort
357 votes
upvote 75 downvote

default user profile icon
Anonymous 5d

Downvoting this is lame

upvote 29 downvote
default user profile icon
Anonymous 5d

For arrays of under 500, bubblesort is a perfectly cromulent algorithm. Considering the price of ram lately, you’d need to consider tradeoffs between space-efficiency and time-efficiency, which rules out mergesort. I’m guessing bogosort is in there as a joke

upvote 10 downvote
default user profile icon
Anonymous 5d

Wait what can you elaborate? V interested since I love Excel, but I don’t think you’re talking about Excel

upvote 6 downvote
default user profile icon
Anonymous 4d

for a second i thought i was on the CS page lmao

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 5d

I don’t think it’s lame 🥲

upvote 25 downvote
default user profile icon
Anonymous replying to -> OP 5d

Nah i meant the people downvoting

upvote 30 downvote
default user profile icon
Anonymous replying to -> #1 5d

Like just skip if you’re not interested

upvote 28 downvote
default user profile icon
Anonymous replying to -> #3 5d

Coding

upvote 6 downvote
default user profile icon
Anonymous replying to -> #3 4d

does excel let you decide which one to use? I figured it would just do quicksort

upvote 1 downvote