Skip to content

Prospective Ideas #343

Open
Open
@Smit-create

Description

@Smit-create

Some of the ideas to start working on:
Adding a few basic and necessary functions:

  1. upper_bound: (similar to that of cpp's upper_bound) that should work on sorted OneDimensionalArray.
  2. lower_bound: (similar to that of cpp's lower_bound) that should work on sorted OneDimensionalArray
  3. is_sorted: To check that a given OneDimensionalArray is sorted or not.
  4. binary_search: To search for a given key in sorted OneDimensionalArray.

Adding few Datastructes:

  1. Adding a class of multiset (similar to cpp's multiset)
  2. Adding a class of Fenwick tree
  3. Adding a class of Sparse Table
  4. Adding a class of StringHashFunction
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions