Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please tell me what data structures did you use in your code and why? Please show me in code where you used these data structures

image text in transcribed

  1. Please tell me what data structures did you use in your code and why?
  2. Please show me in code where you used these data structures and where you created objects of their classes?
The popular social network Facebook was founded by Mark Zuckerberg and his classmates at Harvard University in 2004. At the time, he was a sophomore studying computer science. Design and implement an application that maintains the data for a simple social network. Each person in the network should have a profile that contains the person's name, an image(Optional), current status(Online, offline, busy,...), and a list of friends. Your application should allow a user to join the network, leave the network, create a profile, modify the profile, search for other profiles, and add and remove friends. Reference: Data Structures and Abstractions with Java, Frank M. Carrano, 4th Edition, Pearson, 2015. You can use any data structure you have learned and wrote so far. . DO NOT USE ANY JAVA, C++, or PYTHON LIBRARY to import data structures! . Use your own data structures that you wrote so far. . Use at least a hash table or a dictionary You need at least 2 data structures: One for profiles and one for the list of the friends of those profiles. You need to implement CRUD (In computer programming, create, read, update, and delete (CRUD) are the four basic functions): o C= Create: Add profile- Add friends o R= Read: Read the information of a profile - Search for other profiles o U= Update: Update and edit the profile - Update the friend list o D=Delete: Delete a profile - Delete a friend of a profile

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions