awesome-repositories.comCategoriesBlog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
OpenGenus avatar

OpenGenus/cosmos

0
View on GitHub↗
13,718 stars·3,684 forks·C++·gpl-3.0·15 viewsinternship.opengenus.org↗

Cosmos

Cosmos is a comprehensive collection of fundamental computational algorithms and data structures implemented in C++. It serves as an educational resource and reference library, providing structured source code examples for core computer science concepts including sorting, searching, graph theory, and dynamic programming.

The project is designed for modularity and ease of integration, utilizing a header-only distribution model that allows developers to incorporate specific algorithms without complex build dependencies. By employing template-based generic programming and namespace-scoped organization, the codebase ensures that logic remains portable, type-agnostic, and isolated from external dependencies.

The repository covers a broad range of computational techniques suitable for academic research, software engineering interview preparation, and the integration of reliable logic into larger software projects. All implementations adhere to modern language standards to maintain compatibility across various compilers and operating systems.

Features

  • Algorithms and Data Structures - Provides a collection of fundamental computational algorithms and data structures implemented in C++.
  • Algorithm Implementations - Provides a comprehensive collection of fundamental data structures and algorithms for study and application.
  • Algorithmic Reference Implementations - Acts as a comprehensive reference library of source code examples for core computer science concepts.
  • C++ Implementations - Provides optimized, well-documented algorithmic building blocks implemented in C++.
  • Computer Science Education - Functions as an educational resource for students and developers to understand core computational logic.
  • Header-Only Libraries - Ships as a header-only library to simplify integration and eliminate complex build dependencies.
  • Coding Interview Preparation - Contains standard algorithmic implementations useful for practicing and preparing for technical coding interviews.
  • Generics & Templates - Uses template-based generic programming to allow algorithms to operate on various data types.

Star history

Star history chart for opengenus/cosmosStar history chart for opengenus/cosmos

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Cosmos

Similar open-source projects, ranked by how many features they share with Cosmos.
  • arnauddri/algorithmsarnauddri avatar

    arnauddri/algorithms

    1,853View on GitHub↗

    This repository provides a collection of fundamental computer science algorithms and data structures implemented in Go. It serves as a technical reference and educational resource, offering reusable modules for common computational tasks including data organization, graph analysis, and numerical operations. The library distinguishes itself through the application of idiomatic Go patterns, utilizing generics for type abstraction and interface-driven polymorphism to ensure compile-time type safety. It emphasizes algorithmic efficiency by employing in-place memory mutation to reduce allocations

    Go
    View on GitHub↗1,853
  • wangkuiwu/datastructs_and_algorithmwangkuiwu avatar

    wangkuiwu/datastructs_and_algorithm

    964View on GitHub↗

    This repository serves as a comprehensive library of fundamental data structures and standard algorithms implemented in C, C++, and Java. It functions as an educational resource designed to demonstrate core computer science concepts through practical code examples. The collection covers essential data organization methods, including arrays, linked lists, stacks, and queues, alongside standard computational procedures such as sorting, searching, and graph traversal. By providing these implementations across multiple languages, the project supports technical skill development and preparation fo

    C
    View on GitHub↗964
  • kodecocodes/swift-algorithm-clubkodecocodes avatar

    kodecocodes/swift-algorithm-club

    29,099View on GitHub↗

    This project is a comprehensive collection of common computer science algorithms and data structures implemented in Swift. It serves as an educational reference and library for studying computational complexity, algorithmic logic, and data structure engineering through practical code examples. The repository provides a wide suite of data structure implementations, including various types of linked lists, heaps, hash tables, and an extensive range of hierarchical trees such as Red-Black, B-Tree, and Splay trees. It also covers diverse sorting and searching techniques, from basic bubble sort to

    Swiftalgorithmsdata-structuresswift
    View on GitHub↗29,099
  • wangzheng0822/algowangzheng0822 avatar

    wangzheng0822/algo

    23,159View on GitHub↗

    This project is a data structures and algorithms library providing a collection of fifty standard code implementations for managing data and solving common computational problems. It serves as an algorithm implementation reference and study resource for educational use. The codebase covers graph theory implementations for modeling networks and performing searches, as well as string pattern matching libraries for the retrieval of character sequences. It includes a collection of hierarchical data structures, such as binary search trees and priority heaps, and provides optimized solutions for dy

    Python
    View on GitHub↗23,159
See all 30 alternatives to Cosmos→

Frequently asked questions

What does opengenus/cosmos do?

Cosmos is a comprehensive collection of fundamental computational algorithms and data structures implemented in C++. It serves as an educational resource and reference library, providing structured source code examples for core computer science concepts including sorting, searching, graph theory, and dynamic programming.

What are the main features of opengenus/cosmos?

The main features of opengenus/cosmos are: Algorithms and Data Structures, Algorithm Implementations, Algorithmic Reference Implementations, C++ Implementations, Computer Science Education, Header-Only Libraries, Coding Interview Preparation, Generics & Templates.

What are some open-source alternatives to opengenus/cosmos?

Open-source alternatives to opengenus/cosmos include: arnauddri/algorithms — This repository provides a collection of fundamental computer science algorithms and data structures implemented in… wangkuiwu/datastructs_and_algorithm — This repository serves as a comprehensive library of fundamental data structures and standard algorithms implemented… kodecocodes/swift-algorithm-club — This project is a comprehensive collection of common computer science algorithms and data structures implemented in… wangzheng0822/algo — This project is a data structures and algorithms library providing a collection of fifty standard code implementations… thealgorithms/rust — This project is an algorithm implementation reference and educational resource providing a library of common computer… pegasuswang/python_data_structures_and_algorithms — This repository is a comprehensive educational resource for mastering fundamental computer science concepts through…