What it does
Users post tweets with timestamps and follow each other through hash maps of sets. The news feed merges your tweets with those of the people you follow through a priority queue and returns the latest ten.
Size
75 lines of code.
There's quiet music on this site. It stays off unless you choose it, and it keeps playing as you move between pages.
A tiny Twitter in C++: post, follow, unfollow and a top-10 news feed from a heap.
Users post tweets with timestamps and follow each other through hash maps of sets. The news feed merges your tweets with those of the people you follow through a priority queue and returns the latest ten.
75 lines of code.
