Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ZhongDongLong
· 3y ago · 0 comments
Is there a TrollSort? I'm thinking of an algorithm which initially seems to be fast and efficient but takes exponentially longer time with larger arrays and exponentially longer towards the end of sorting.
Comments
[–]
justansite
3y ago
Not sure if this qualifies, but the first thing that came to mind for me was bogosort sometimes called bozosort.
https://en.m.wikipedia.org/wiki/Bogosort