Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1020 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 1020 Bytes

linked-list-using-c

Description

This repository contains an implementation of a linked list in C, including common operations such as insertion, deletion, traversal, and accessing the top element.

Features

  • Insert elements at the beginning, end, or a specific position.
  • Delete elements from the beginning, end, or a specific position.
  • Traverse the linked list and display elements.
  • Get the top (head) element of the linked list.

Files Included

  • insert.c - Code for inserting elements into the linked list.
  • delete.c - Code for deleting elements from the linked list.
  • traverse.c - Code for traversing and displaying elements.
  • top.c - Code for getting the top element.
  • linked_list.h - Header file containing function declarations.
  • main.c - Example usage of the linked list operations.

Contributions

Feel free to fork this repository, create a new branch, and submit pull requests for improvements.

License

This project is open-source and available under the MIT License.