[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

which is the best sorting method?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 10
Thread images: 1

File: 1484775666738.jpg (198KB, 1598x706px) Image search: [Google]
1484775666738.jpg
198KB, 1598x706px
https://www.youtube.com/watch?v=kPRA0W1kECg
>>
T I M S O R T
I
M
S
O
R
T
>>
bogo sort is O(1)
>>
>>59318019
>Java professor plays this over the classroom speakers
>Sounds like a fucking slide whistle being raped
>>
>>59318165
more like O(∞) amirite haha
>>
>>59318019
sleep sort
>>
Bubble sort because it's the easiest to program
>>
>>59318019
I like Bannonsort
Return your own sorted array because unsorted arrays are fake news
>>
>>59320240
>>>/leftypol/
This isn't even politics fag
>>
quicksort and heapsort both are O(nlog(n)).

Radix sort can achieve O(n) but with a very special set of data
Thread posts: 10
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

If you need a post removed click on it's [Report] button and follow the instruction.
If you like this website please support us by donating with Bitcoin at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties. Posts and uploaded images are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that website. If you need information about a Poster - contact 4chan. This project is not affiliated in any way with 4chan.