Simple Data Structures is a C project that implements fundamental data structures, including linked lists, stacks, and queues. This project was created for learning purposes related to data structures. Currently, it works only with integers.
- Linked List: Implemented with functions for creating, appending, prepending, inserting, deleting, and searching nodes.
- Stack: Implemented using linked lists, with functionalities for pushing, popping, peeking, and checking if the stack is empty.
- Queue: Implemented using linked lists, with functionalities for enqueuing, dequeuing, peeking, and checking if the queue is empty.
To build and run the Simple Data Structures project, follow these steps:
- Ensure you have CMake installed on your system. You can download it from CMake's official website.
- You will also need a C compiler (such as GCC) installed.
- Clone the repository:
Open your terminal and run the following command to clone the project:
git clone https://github.com/yourusername/simple_data_structures.git Navigate to the project directory: Change into the project directory:
cd simple_data_structures
If you want to play with structures open main.c or open rest of the files to edit structures. If you want to compile the project run main.c. Project is build using CMake.
This project is licensed under the MIT License. See the LICENSE file for details. Contributing
Contributions are welcome! If you'd like to improve the project or add features, feel free to submit a pull request or open an issue.