Consider the users of Facebook with links representing friendships…..solved

$15.00

Download Details:

  • Name: Consider-the-users-of-Facebook-with-links-representing-friendships-between-users-4lhiou.doc
  • Type: doc
  • Size: 231.50 KB

Category:

Description

5/5 - (2 votes)

Consider the users of Facebook with links representing friendships between users.
a) Design a data structure (ADT) to represent the users and friendships.
b) Write a C++ class to implement your ADT.
c) Write a C++ program to find all direct and indirect friends of a given user using the class you design in (b).