Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashok-arjun/facebook-clone

Data Structures mini package to simulate the organization of users in facebook network. Includes the implementation of various data structures including Graph, Trie, Queue and Stack.
https://github.com/ashok-arjun/facebook-clone

data-structures facebook-network graph linked-list list queue queues stack stacks

Last synced: 16 days ago
JSON representation

Data Structures mini package to simulate the organization of users in facebook network. Includes the implementation of various data structures including Graph, Trie, Queue and Stack.

Awesome Lists containing this project

README

        

# Facebook-clone

This project was done by me to demonstrate the primary usage of data structures like graphs, linked lists, stacks and queues to implement a clone of the facebook network.

C++ has been used as the programming language.

The many options offered in facebook such as posting, sending friend request etc. have been implemented atop a graph data structure in the code.

As the main purpose of the project is to understand the usage of the data structures, no database has been used. instead file streams have been used to retrieve the users in the system.

For scalability, TRIE structure was implemented to store the names of the users for easy searching when the number of users grows, but there were errors in the output when the trie structure was implemented, so the corresponding code is present in the program, but has not been used.

The code is well-commented, so there should be no problem understand the use of various functions.
Pull requests are welcome!