Skip to content

SumitDesai-21/DSA

Repository files navigation

DSA

last-commit repo-top-language repo-language-count

Developed with:

C


Data Structures and Algorithms in C

Overview

This is a Data Structures and Algorithms repository. It contains the implementation of various data structures and algorithms in C Programming language. Also, it contains every single assignment of my Data Structures and Algorithms course.

Data Structures

  1. Array
  2. Linked List
    • Singly Linked List
    • Doubly Linked List
    • Circular Linked List
  3. Stack
    • Stack using Array
    • Stack using Linked List
  4. Queue
    • Queue using Array
    • Queue using Linked List
  5. Infix-Postfix
    • infix to postfix using arrays
    • postfix expression evaluation
  6. Binary Tree
    • Binary Tree Implementation
    • BT Traversals (BFS & DFS)
    • BST (Binary Search Tree Implementation)
  7. Graphs
    • Graph implementation using Adjacency Matrix
    • Graph implementation using Adjacency List
    • BFS & DFS Traversal On Graph

How to use this repository?

  1. Clone the repository using the following command:
git clone https://github.com/SumitDesai-21/DSA
  1. Change the directory to the required data structure or algorithm folder. for example, to change the directory to circular linked list, use the following command:
cd linkedlist
cd cll
  1. Compile the code using the following command:
gcc *.c -o output
  1. Run the code using the following command:
./output
  1. To clean the output file, use the following command:
rm output

How to contribute?

  1. Fork the repository
  2. Create a new branch
git checkout -b new_branch
  1. Make changes
  2. Commit your changes
git commit -m "Message"
  1. Push your changes
git push origin new_branch
  1. Create a pull request

Contributions are highly appreciated. Please create a pull request if you have any suggestions or improvements.

About the Author

Happy Coding! ❤️

About

C Programs, Data Structures & Algorithms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages