Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
logicallee
· 2w ago · 0 comments
it's a good idea.
Comments
[–]
halflife
2w ago
Not really, it will be a very dumb sort, you just place the item at an array index, so you can’t have duplicate numbers or negative
[–]
logicallee
OP
2w ago
ok. I tried it. yes, the standard algorithms (qsort etc) are better.