Programming, Algorithms, Data, Tech, Web Development.
we don’t really need the graph of followers, instead we need a graph of following. The previous graph (with a hashtable and a bunch of lists) allows us to efficiently find all users followed by any particular user. But it does not allow us to efficiently find all users who are following one