cosmos

module
v0.0.0-...-f83d5d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2018 License: GPL-3.0

README ΒΆ

Cosmos

Help Contribute to Open Source

The universe of algorithm and data structures

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 various languages spanning C, C++, Java, JavaScript, Swift, Python, Go 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.

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

Cosmic Structure

Following is the high-level structure of cosmos:

Each type has several hundreds of problems with solutions in several languages spanning C, C++, Java, Python, Go and others.

Maintainers

This is a massive collaboration and to keep the quality intact and drive the vision in the proper direction, we have maintainers.

Maintainers are your friends forever. They are vastly different from moderators.

Currently, we have 5 active maintainers and we are expanding quickly.

The task of maintainers is to review pull requests, suggest further quality additions and keep the work up to date with the current state of the world. 🌍

Check out our current maintainers

Let us know if you would like to be a maintainer in the Slack channel #algorithms and we will review and add you upon subsequent contributions. To join our massive community at Slack open an issue here.

Contributors

The success of our vision to bring knowledge offline depends on you. Even a small contribution helps. All forms of contributions are highly welcomed and valued.

Currently, we have over 700 contributors

When you contribute, your name with a link (if available) is added to our contributors list.

You can contribute by writing code, documentation in the form of installation guides and style guides, making Cosmos search friendly and many others. There are endless possibilities.

Additionally, you might want to take a look at this contributing guidelines before you make Cosmos better.

You may, also, refer to the available style guides before contributing code.

License

We believe in freedom and improvement. GNU General Public License v3.0

Directories ΒΆ

Path Synopsis
code
backtracking/src/knight_tour
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
backtracking/src/n_queen
Part of Cosmos by OpenGenus Foundation Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation Part of Cosmos by OpenGenus Foundation
backtracking/src/number_of_ways_in_maze
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
backtracking/src/partitions_of_number
/ Part of Cosmos by OpenGenus Foundation
/ Part of Cosmos by OpenGenus Foundation
backtracking/src/partitions_of_set
/ Part of Cosmos by OpenGenus Foundation
/ Part of Cosmos by OpenGenus Foundation
backtracking/src/permutations_of_string
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
backtracking/src/powerset
Part of Open Genus foundation
Part of Open Genus foundation
data_structures/src/queue/queue
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
data_structures/src/queue/reverse_queue
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
data_structures/src/stack/reverse_stack
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
data_structures/src/stack/stack
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
data_structures/src/tree/heap/max_heap
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
data_structures/src/tree/multiway_tree/union_find
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
data_structures/src/tree/space_partitioning_tree/segment_tree
* Segment Tree * Update: 1 point * Query: Range * Query Type: Range Minimum Query * Segment Tree * Update: 1 point * Query: Range * Query Type: Range Sum Query
* Segment Tree * Update: 1 point * Query: Range * Query Type: Range Minimum Query * Segment Tree * Update: 1 point * Query: Range * Query Type: Range Sum Query
dynamic_programming/src/coin_change
* dynamic programming | coin change | Go * Part of Cosmos by OpenGenus Foundation
* dynamic programming | coin change | Go * Part of Cosmos by OpenGenus Foundation
dynamic_programming/src/factorial
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
dynamic_programming/src/knapsack
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
dynamic_programming/src/largest_sum_contiguous_subarray
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
dynamic_programming/src/longest_common_subsequence
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
dynamic_programming/src/longest_increasing_subsequence
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
dynamic_programming/src/rod_cutting
A Dynamic Programming solution for Rod Cutting problem
A Dynamic Programming solution for Rod Cutting problem
dynamic_programming/src/subset_sum
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
greedy_algorithms/src/fractional_knapsack
Part of Cosmos Project by OpenGenus Foundation Implementation of the factional knapsack on golang written by Guilherme Lucas (guilhermeslucas)
Part of Cosmos Project by OpenGenus Foundation Implementation of the factional knapsack on golang written by Guilherme Lucas (guilhermeslucas)
mathematical_algorithms/src/add_polynomials
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
mathematical_algorithms/src/check_is_square
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
mathematical_algorithms/src/count_digits
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
mathematical_algorithms/src/integer_conversion
Part of cosmos project from OpenGenus Foundation Decimal to binay conversion on golang Written by Guilherme Lucas (guilhermeslcs)
Part of cosmos project from OpenGenus Foundation Decimal to binay conversion on golang Written by Guilherme Lucas (guilhermeslcs)
mathematical_algorithms/src/pascal_triangle
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
mathematical_algorithms/src/prime_factors
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
mathematical_algorithms/src/replace_0_with_5
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
mathematical_algorithms/src/reverse_factorial
* Part of Cosmos by OpenGenus Foundation
* Part of Cosmos by OpenGenus Foundation
mathematical_algorithms/src/sum_of_digits
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
sorting/src/bogo_sort
Part of Cosmos Project by OpenGenus Foundation Bogo Sort implementation on golang Written by Guilherme Lucas(guilhermeslucas)
Part of Cosmos Project by OpenGenus Foundation Bogo Sort implementation on golang Written by Guilherme Lucas(guilhermeslucas)
sorting/src/bubble_sort
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
sorting/src/heap_sort
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
sorting/src/quick_sort
Quick Sort in Golang Part of Cosmos by OpenGenus Foundation
Quick Sort in Golang Part of Cosmos by OpenGenus Foundation
sorting/src/radix_sort
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
sorting/src/shaker_sort
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
sorting/src/sleep_sort
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
sorting/src/stooge_sort
Part of Cosmos by OpenGenus Foundation
Part of Cosmos by OpenGenus Foundation
string_algorithms/src/anagram_search
Part of the Cosmos Project by OpenGenus Find out if two strings are angram Written by Guilherme Lucas (guilhermeslucas)
Part of the Cosmos Project by OpenGenus Find out if two strings are angram Written by Guilherme Lucas (guilhermeslucas)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL