{"id":50527806,"url":"https://github.com/saqibbedar/cpp-algorithms-datastructures","last_synced_at":"2026-06-03T09:31:10.665Z","repository":{"id":259275777,"uuid":"863867464","full_name":"saqibbedar/cpp-algorithms-datastructures","owner":"saqibbedar","description":"Structured Data Structures \u0026 Algorithms (DSA) in C++: topic-wise implementations, labs, assignments, revision notes, and interview practice.","archived":false,"fork":false,"pushed_at":"2026-04-29T17:44:04.000Z","size":5282,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-29T19:30:06.299Z","etag":null,"topics":["algorithms","c-plus-plus","coding-interview","coding-practice","competitive-programming","cp","cpp","data-structures","dsa","interview-preparation","linked-list","priority-queue","problem-solving","queue","recursion","searching","sorting","stack","stl","tree"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saqibbedar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":"FUNDING.yaml","license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["saqibbedar"],"custom":["https://www.buymeacoffee.com/saqibbedar"]}},"created_at":"2024-09-27T04:14:55.000Z","updated_at":"2026-04-29T17:44:08.000Z","dependencies_parsed_at":"2024-10-24T02:56:08.012Z","dependency_job_id":"c6fec1a8-6687-4d61-8382-d644c16b4d18","html_url":"https://github.com/saqibbedar/cpp-algorithms-datastructures","commit_stats":null,"previous_names":["saqibbedar/cpp-dsa","saqibbedar/dsa","saqibbedar/cpp-algorithms-datastructures"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saqibbedar/cpp-algorithms-datastructures","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqibbedar%2Fcpp-algorithms-datastructures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqibbedar%2Fcpp-algorithms-datastructures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqibbedar%2Fcpp-algorithms-datastructures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqibbedar%2Fcpp-algorithms-datastructures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saqibbedar","download_url":"https://codeload.github.com/saqibbedar/cpp-algorithms-datastructures/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saqibbedar%2Fcpp-algorithms-datastructures/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33858569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"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","c-plus-plus","coding-interview","coding-practice","competitive-programming","cp","cpp","data-structures","dsa","interview-preparation","linked-list","priority-queue","problem-solving","queue","recursion","searching","sorting","stack","stl","tree"],"created_at":"2026-06-03T09:31:09.891Z","updated_at":"2026-06-03T09:31:10.660Z","avatar_url":"https://github.com/saqibbedar.png","language":"C++","funding_links":["https://github.com/sponsors/saqibbedar","https://www.buymeacoffee.com/saqibbedar"],"categories":[],"sub_categories":[],"readme":"# cpp-algorithms-datastructures\n\n![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)\n![GitHub stars](https://img.shields.io/github/stars/saqibbedar/dsa.svg)\n![GitHub forks](https://img.shields.io/github/forks/saqibbedar/dsa.svg)\n![GitHub issues](https://img.shields.io/github/issues/saqibbedar/dsa.svg)\n\nStructured **Data Structures \u0026 Algorithms (DSA) in C++**: topic-wise implementations, labs, assignments, revision notes, and interview practice.\n\n\u003e This repository is organized “folder-first” so you can study one topic at a time, run code locally, and build strong fundamentals for problem solving and coding interviews.\n\n---\n\n## What’s inside (high level)\n\n- **Topic-wise DSA implementations (C++)**  \n  Path: `Data Structures \u0026 Algorithms/`\n- **Assignments** (coursework-style practice)  \n  Path: `Assignments/`\n- **DSA Friday Lab** (lab-style practice to build consistency)  \n  Path: `DSA Friday Lab/`\n- **Quick C++ Revision** (C++ concepts used frequently in DSA)  \n  Path: `Quick C++ Revision/`\n- **Past Papers** (exam-style / revision material)  \n  Path: `Past Papers/`\n- **Docker guide** (notes for a consistent environment)  \n  Path: `docker-guide/`\n- **Notes/structure helpers** (`NOTES.yaml` and other YAML files)  \n  These help document folders and keep the repo navigable.\n\n---\n\n## Recommended way to use this repo\n\n1. Start from the main folder:  \n   `Data Structures \u0026 Algorithms/`\n2. Pick **one** topic folder (example: `LinkedList`, `Stack`, `Queue`, `Sorting Algorithms`).\n3. Read the code, trace the logic, and run it locally.\n4. Modify it:\n   - add edge cases\n   - add missing operations\n   - refactor for clarity\n5. Move to the next topic.\n\nTip: progress becomes much faster when you go **topic-by-topic** instead of jumping randomly.\n\n---\n\n## Quick links\n\n- Main content:  \n  https://github.com/saqibbedar/dsa/tree/main/Data%20Structures%20%26%20Algorithms\n- Assignments:  \n  https://github.com/saqibbedar/dsa/tree/main/Assignments\n- DSA Friday Lab:  \n  https://github.com/saqibbedar/dsa/tree/main/DSA%20Friday%20Lab\n- Quick C++ Revision:  \n  https://github.com/saqibbedar/dsa/tree/main/Quick%20C%2B%2B%20Revision\n\n---\n\n## Topics (examples you’ll see in the repo)\n\nInside `Data Structures \u0026 Algorithms/` you’ll find topic folders such as:\n\n- Linked List\n- Stack\n- Queue\n- Priority Queue\n- Trees / Binary Search Tree\n- Sorting Algorithms\n- Recursion\n- Iterators\n\n(Exact folders may vary—this repo is intended to grow over time.)\n\n---\n\n## Run code locally\n\nMost code is designed to compile and run independently (file-by-file or folder-by-folder).\n\n### Compile and run a single file\n\n```bash\ng++ -std=c++17 file.cpp -o app\n./app\n```\n\n### Compile multiple files together (if a topic uses more than one `.cpp`)\n\n```bash\ng++ -std=c++17 main.cpp other.cpp -o app\n./app\n```\n\nNotes:\n- If you get missing include errors or symbol collisions, compile **one topic folder at a time**.\n- Prefer a modern compiler (GCC/Clang) and at least **C++17**.\n\n---\n\n## Contribution\n\nContributions are welcome—especially improvements that keep the repo consistent and easy to learn from.\n\nSuggested contributions:\n- improve naming + comments\n- add missing operations + edge cases\n- add small driver examples (`main.cpp`) for topics\n- fix bugs and simplify implementations\n\nGeneral flow:\n1. Fork the repo\n2. Create a branch\n3. Make changes and test\n4. Open a PR with a clear description\n\n---\n\n## License\n\nMIT License — see [`LICENSE`](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaqibbedar%2Fcpp-algorithms-datastructures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaqibbedar%2Fcpp-algorithms-datastructures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaqibbedar%2Fcpp-algorithms-datastructures/lists"}