Skip to content

A comprehensive collection of Data Structures and Algorithms implemented in C++. Includes code examples, problem-solving approaches, and performance analysis

Notifications You must be signed in to change notification settings

Farhanulhaq19/Data-Structures-and-Algorithma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Structures and Algorithms

Welcome to the Data Structures and Algorithms repository! This project is a comprehensive collection of fundamental data structures and algorithms implemented in an organized and educational manner. It serves as a reference and learning resource for students, professionals, and enthusiasts preparing for coding interviews or deepening their understanding of computer science fundamentals.

📂 Repository Structure

This repository contains implementations and examples of the following:

📚 Data Structures

  • Arrays
  • Linked Lists
    • Singly Linked List
    • Doubly Linked List
    • Circular Linked List
  • Stacks
  • Queues
    • Circular Queue
    • Priority Queue
  • Trees
    • Binary Trees
    • Binary Search Trees (BST)
    • Tree Traversals: Preorder, Inorder, Postorder
  • Graphs
    • Representation using adjacency list and matrix
    • Breadth-First Search (BFS)
    • Depth-First Search (DFS)
  • Hash Tables
  • Heaps
    • Min Heap
    • Max Heap
  • Tries

🔍 Algorithms

  • Searching Algorithms

    • Linear Search
    • Binary Search
  • Sorting Algorithms

    • Bubble Sort
    • Selection Sort
    • Insertion Sort
    • Merge Sort
    • Quick Sort
  • Recursion and Backtracking

  • Graph Algorithms

    • BFS
    • DFS
    • Dijkstra's Algorithm
  • Tree Traversals

    • Inorder
    • Preorder
    • Postorder

🚀 How to Use

  1. Clone the repository:

    git clone https://github.com/Farhanulhaq19/Data-Structures-and-Algorithma.git cd Data-Structures-and-Algorithma Navigate to the folder of interest (e.g., Sorting, Trees, Graphs) and run the respective .cpp or .py files (depending on the implementation language used).

Each file is written in a simple, understandable manner with inline comments for clarity.

🎯 Goals Provide clean and readable implementations

Help users prepare for technical interviews

Serve as an educational reference for students

Explore different data structures through real code examples

💡 Contributing If you'd like to contribute by adding new data structures, optimizing existing code, or fixing bugs, feel free to open a Pull Request. Contributions are always welcome!

📄 License This project is licensed under the MIT License - see the LICENSE file for details.

About

A comprehensive collection of Data Structures and Algorithms implemented in C++. Includes code examples, problem-solving approaches, and performance analysis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages