Y
Hacker News
new
|
ask
|
show
|
jobs
by
wetmore
2113 days ago
Fairly sure you can do it in linear time and space without sorting.