Skip to content

Buszewicz/simple-data-structures-made-in-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Data Structures

Description

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.

Features

  • 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.

Installation

To build and run the Simple Data Structures project, follow these steps:

Prerequisites

  • 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.

Steps to Install

  1. 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.

License

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.

Author

About

Simple data structures made in c

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published