What is Cosmos?

Overview of a multi-language offline collection of programming solutions
12 October

Cosmos is your personal offline collection of every algorithm and data structure one will ever encounter and use in a lifetime. This provides solutions in a various languages spanning CC++JavaPythonGo and others.

This work is maintained by a community of hundreds of people and is a massive collaborative effort to bring the readily available coding knowledge offline.

Main purpose of Cosmos is to make coding possible offline. 

Many coders ask me how to improve their own performances. I cannot say anything except "solve and review and prepare your library.
 

Uwi Tenpen

HC 2016 Finalist / Yandex Algorithm 2015,2016 Finalist / CodeChef Snackdown 2015,2016 Finalist Java/Python/Bash

Cosmic Structure

Following is the high-level structure of cosmos:

  • Backtracking
  • Bit manipulation
  • Computational geometry
  • Data structures
  • Divide conquer
  • Dynamic programming
  • Graph algorithms
  • Greedy algorithms
  • Mathematical algorithms
  • Randomized algorithms
  • Search
  • Sorting
  • String algorithms
  • Unclassified

Each type has several hundreds of problems with solutions in several languages spanning CC++JavaPythonGo and others.

The project is complitely community-driven and has 300 active contributors at GiHub