Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Implementation for Additional Data Structure #14

Open
7 of 22 tasks
Tinny-Robot opened this issue Sep 30, 2023 · 8 comments
Open
7 of 22 tasks

Request for Implementation for Additional Data Structure #14

Tinny-Robot opened this issue Sep 30, 2023 · 8 comments

Comments

@Tinny-Robot
Copy link
Member

Tinny-Robot commented Sep 30, 2023

Issue Description

We're looking to enhance the functionality of PyDS-A by implementing various data structures. This wills

Proposed Data Structures

Please keep in mind that the proper way to link an issue to this list is to comment:

Linear Data Structures:

Arrays:

  • Implementation of arrays with efficient indexing.

Linked List:

  • Singly Linked List #33

  • Implementation of a doubly linked list.

  • Implementation of a circular linked list.

  • Priority Queue
    Implementation of a priority queue with associated priorities.

  • Deque (Double-ended Queue)
    Implementation of a deque that allows elements to be added or removed from both ends.

Tree Data Structures:

  • Tree
    Implementation of a general tree data structure.

  • Binary Tree #34
    Implementation of a binary tree with support for at most two children per node.

  • Binary Search Tree (BST)
    Implementation of a binary search tree with left subtree values < node value < right subtree values.

  • Heap #36
    Implementation of a binary heap data structure.

Graph Data Structures:

Graph:

  • Graph #40
    Implementation of a graph data structure with nodes and edges.

Trie:

  • Implementation of a trie data structure for storing strings efficiently.

Self-Balancing Trees:

Red-Black Tree:

  • Implementation of a red-black tree for balanced binary search operations.

AVL Tree:

  • Implementation of an AVL tree for strict balancing.

Spatial Data Structures:

Quadtree:

  • Implementation of a quadtree for spatial indexing in 2D space.

Octree:

  • Implementation of an octree for spatial indexing in 3D space.

Other Data Structures:

Bloom Filter:

  • Implementation of a Bloom filter for probabilistic membership testing.

Skip List:

Sparse Matrix:

  • Implementation of a sparse matrix for efficient representation of matrices with many zero elements.

Segment Tree:

  • Implementation of a segment tree for various range-query tasks, such as summing elements in a range.

Suffix Tree:

  • Implementation of a suffix tree for string matching and search operations.

Suffix Array:

  • Suffix Array #51
    Implementation of a suffix array for pattern matching and text indexing.

The main file paths where these data structures are likely to be added are:

pyds_a/data_structures/

Please keep in mind that the proper way to link an issue to this list is to comment:

- [ ] #issue_number

where #issue_number refers to the issue number for the task related to the specific data structure you've chosen. Make sure that the issue's title only includes the name of the data structure you've chosen.

@Racso-3141
Copy link
Contributor

Hello,
What data type should be used for the value field in the linkedlist node? Should it be int for now?

@Racso-3141
Copy link
Contributor

@Racso-3141
Copy link
Contributor

@Racso-3141
Copy link
Contributor

@Racso-3141
Copy link
Contributor

@Racso-3141
Copy link
Contributor

@Racso-3141
Copy link
Contributor

@AIBauchi AIBauchi deleted a comment from Racso-3141 Oct 2, 2023
@kaivalmehta
Copy link

@AIBauchi AIBauchi deleted a comment from khamtii Oct 6, 2023
@Tinny-Robot Tinny-Robot added the help wanted Extra attention is needed label Oct 7, 2023
This was referenced Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants