Hacker News new | ask | show | jobs
by minitech 188 days ago
You can do that for O(N), but the problem can be solved in O(k).