I’m working on a java project and need a sample draft to help me understand better.
The popular social network Facebook TM 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 persons 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):
So far, the class have talked about Array List, Linked List, Linked Queue and Linked Stack. I have also included the files for hashed dictionary. The class have not talked about table so I do not have it.
Pls write the code as basic as it gets, or easy to understand. Do add comment explaining what the line of code is doing because I need to present the project to the teacher.
Finally answer these two questions.
- What data structures did you use in your code and why?
- Show me in your code where you used these data structures and where you created objects of their classes? (You should explain your code and I do not accept if you say somebody else did this part of the code.)