Open
Description
Some of the ideas to start working on:
Adding a few basic and necessary functions:
upper_bound
: (similar to that of cpp's upper_bound) that should work on sortedOneDimensionalArray
.lower_bound
: (similar to that of cpp's lower_bound) that should work on sortedOneDimensionalArray
is_sorted
: To check that a givenOneDimensionalArray
is sorted or not.binary_search
: To search for a given key in sortedOneDimensionalArray
.
Adding few Datastructes:
- Adding a class of multiset (similar to cpp's
multiset
) - Adding a class of Fenwick tree
- Adding a class of Sparse Table
- Adding a class of StringHashFunction
- LCA for DAG/tree
Some more ideas on strings and Graphs can also be found here: https://github.com/codezonediitj/pydatastructs/wiki/Planned-Features-for-v0.0.1
The list will be updated based on the progress of the above ideas. We don't assign issues to any individual so whoever is willing to work on any of the above ideas (or on your own idea please let us know what you are working on) should discuss how he/she is going to design the API of the function/classes and how will it be useful.
For example, if I am willing to work on adding binary_search
for sorted ODA, then I would show its working in the comments below as:
binary_search(array, start, end, key, cmp=None):
# its algo (not necessary to show here in comments just show how the function/class will look like)
return True if found else False