Question: 2. (15 points) Suppose Facebook stores a huge undirected graph for the social network, where each vertex represents a user, and if two users are

 2. (15 points) Suppose Facebook stores a huge undirected graph for

2. (15 points) Suppose Facebook stores a huge undirected graph for the social network, where each vertex represents a user, and if two users are friends with each other, they are connected by an edge. We assume that there are about 10 users, and each user has about 200 friends on average. Should we use adjacency list or adjacency matrix to represent this graph? Why? 2. (15 points) Suppose Facebook stores a huge undirected graph for the social network, where each vertex represents a user, and if two users are friends with each other, they are connected by an edge. We assume that there are about 10 users, and each user has about 200 friends on average. Should we use adjacency list or adjacency matrix to represent this graph? Why

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!