{"id":19716083,"url":"https://github.com/mohahmadraza/dsa-cpp","last_synced_at":"2025-10-12T19:11:43.961Z","repository":{"id":257124505,"uuid":"857355343","full_name":"mohAhmadRaza/DSA-CPP","owner":"mohAhmadRaza","description":"This is repo for those who are doing DSA in CPP. I added all the problems, which every university comes with when they arrange a DSA course for students. ","archived":false,"fork":false,"pushed_at":"2024-12-03T20:45:36.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T21:53:26.951Z","etag":null,"topics":["algorithms","algorithms-and-data-structures","and","arrays","dictionaries","dsa","graphs","hashing","heap","keys","linkedlists","lists","pairs","priority-queues","queus","recurrision","stack","trees","values"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohAhmadRaza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-14T12:42:28.000Z","updated_at":"2024-12-03T20:45:39.000Z","dependencies_parsed_at":"2024-09-15T00:17:24.320Z","dependency_job_id":"b275e6de-71c9-46f5-880d-d83a719980f9","html_url":"https://github.com/mohAhmadRaza/DSA-CPP","commit_stats":null,"previous_names":["mohahmadraza/dsa-cpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mohAhmadRaza/DSA-CPP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohAhmadRaza%2FDSA-CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohAhmadRaza%2FDSA-CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohAhmadRaza%2FDSA-CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohAhmadRaza%2FDSA-CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohAhmadRaza","download_url":"https://codeload.github.com/mohAhmadRaza/DSA-CPP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohAhmadRaza%2FDSA-CPP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012638,"owners_count":26085158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","algorithms-and-data-structures","and","arrays","dictionaries","dsa","graphs","hashing","heap","keys","linkedlists","lists","pairs","priority-queues","queus","recurrision","stack","trees","values"],"created_at":"2024-11-11T22:40:43.376Z","updated_at":"2025-10-12T19:11:43.945Z","avatar_url":"https://github.com/mohAhmadRaza.png","language":"C++","readme":"# DSA in C++\n\nThis repository contains implementations of various **Data Structures** and **Algorithms** in C++. It is aimed at providing a structured approach to understanding and implementing core DSA concepts, useful for interview preparation and competitive programming.\n\n## Table of Contents\n---\n\n1. [Introduction](#introduction)\n2. [Data Structures](#data-structures)\n3. [Algorithms](#algorithms)\n4. [Installation \u0026 Setup](#installation--setup)\n5. [How to Use](#how-to-use)\n6. [Contributing](#contributing)\n7. [License](#license)\n\n---\n\n## Introduction\n\nThis project is a collection of common **Data Structures** and **Algorithms** implemented in C++. Each data structure and algorithm is well-documented, with examples to help you understand how to use them. \n\nIt is designed for students, developers, and anyone looking to sharpen their problem-solving skills in **C++**.\n\n---\n\n## Data Structures\n\n### 1. Linear Data Structures\n- **Arrays**\n  - Operations: Insertion, Deletion, Searching\n- **Linked List**\n  - Singly Linked List\n  - Doubly Linked List\n  - Circular Linked List\n- **Stacks**\n  - Operations: Push, Pop, Peek\n- **Queues**\n  - Circular Queue, Deque (Double-Ended Queue)\n  - Priority Queue\n\n### 2. Non-Linear Data Structures\n- **Trees**\n  - Binary Tree\n  - Binary Search Tree (BST)\n  - AVL Tree\n  - Heap (Min Heap, Max Heap)\n- **Graphs**\n  - Adjacency Matrix and List Representation\n  - Breadth-First Search (BFS)\n  - Depth-First Search (DFS)\n\n---\n\n## Algorithms\n\n### 1. Sorting Algorithms\n- Bubble Sort\n- Selection Sort\n- Insertion Sort\n- Merge Sort\n- Quick Sort\n- Heap Sort\n\n### 2. Searching Algorithms\n- Linear Search\n- Binary Search\n- Depth-First Search (DFS)\n- Breadth-First Search (BFS)\n\n---\n\n## Installation \u0026 Setup\n\n### Prerequisites\nMake sure you have **Git** and a **C++ compiler** installed on your system.\n\n1. Clone the repository using the following command:\n   ```bash\n   git clone https://github.com/mohAhmadRaza/DSA-CPP.git\n   ```\n\n2. Navigate to the project directory:\n   ```bash\n   cd DSA-CPP\n   ```\n\n3. Compile the C++ files using a C++ compiler (e.g., `g++`):\n   ```bash\n   g++ filename.cpp -o output\n   ```\n\n4. Run the executable:\n   ```bash\n   ./output\n   ```\n\n---\n\n## How to Use\n\nEach folder inside this repository contains the following:\n- **Code**: The actual C++ code implementing the data structure or algorithm.\n- **Example**: An example or test case demonstrating how to use the code.\n\n### Example\n\nTo run an example of a binary search algorithm:\n\n1. Navigate to the binary search directory.\n2. Compile and run the code:\n   ```bash\n   g++ binary_search.cpp -o binary_search\n   ./binary_search\n   ```\n\n---\n\n## Contributing\n\nContributions are welcome! Feel free to open a pull request if you want to add new algorithms, optimize existing code, or fix any issues.\n\nTo contribute:\n1. Fork this repository.\n2. Create a new branch: `git checkout -b my-feature-branch`\n3. Commit your changes: `git commit -m 'Add some feature'`\n4. Push to the branch: `git push origin my-feature-branch`\n5. Open a pull request.\n\n---\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\n## Acknowledgments\n\nThanks to all the resources, tutorials, and community support that made this project possible.\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohahmadraza%2Fdsa-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohahmadraza%2Fdsa-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohahmadraza%2Fdsa-cpp/lists"}