Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How necessary are the programming fundamentals?. Parent comment
Then it is easy just bucket count with keys being integers in the list and iterate afterwards filtering for value >= 2
Now if no Maps are allowed it is a bit trickier... you might need your own hashing function or as someone else suggested write your own nlogn sort..
There are no comments on this comment yet.
Then it is easy just bucket count with keys being integers in the list and iterate afterwards filtering for value >= 2
Now if no Maps are allowed it is a bit trickier... you might need your own hashing function or as someone else suggested write your own nlogn sort..