Skip to content

A generic singly linked list library implemented in C language

License

Notifications You must be signed in to change notification settings

deepakraparti/singly_linked_list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Singly Linked List Library in C

.github/workflows/c-cpp.yml

Singly Linked List

This repository contains a generic singly linked list C library capable of generating both static and dynamic libraries.

Features

  • Insertion:

    1. At the beginning
    2. At the end
    3. At any given position
  • Deletion:

    1. Front node
    2. Last node
    3. Delete a node specified by the position
  • Manipulation:

    • Reverse the list
    • Print the list
    • Search for specific data in the list using application-specific logic
    • Sort the list in ascending order using application-specific logic
    • Determine the length of the list
    • Check if the list is empty

Directory Structure

This repository follows the following directory structure:

  • src/: Contains the source code for the singly linked list library.
  • examples/: Contains sample application source code.

Getting Started

To utilize the library in your application, clone the repository:

 git clone [email protected]:deepakraparti/singly_linked_list.git

The sample application demonstrates the usage of the singly linked list library. You can explore it further in the examples directory. Generate the sample application and libraries using make.

cd singly_linked_list
make
./bin/sample_application

The sample application will be placed in the bin directory, and the generated libraries can be found in the lib folder.

Contribution

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

LICENSE

This repository is licensed under the MIT License. See the LICENSE file for details.

About

A generic singly linked list library implemented in C language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published