div-bargali / Data-Structures-and-Algorithms

Data Structures and Algorithms implemented In Python, C, C++, Java or any other languages. Aimed to help strengthen the concepts of DSA. Give a Star 🌟 if it helps you.
MIT License
270 stars 396 forks source link

Implement Data Structures and Algorithms #1

Closed div-bargali closed 2 years ago

div-bargali commented 3 years ago

Implement data structures and algorithms in any preferred languages.

Steps to contribute -

  1. Open a new issue stating the algorithm/datastructure you want to implement.
  2. Create a new PR and reference the issue in that PR.
  3. Wait for the PR to be merged 🎉.
NEENA-XAVIER commented 3 years ago

I would like to add stack implementation using array in c !

Ambareen09 commented 3 years ago

I would like to add Josephus Problem code in c++.

psymbio commented 3 years ago

@div-bargali can I add stacks, queues, linked list implementations?

div-bargali commented 3 years ago

To maintain a proper directory management 📂 please add the file inside a directory in following structure: <Language used>/<Algorithm | Data Structure>/<your file or folder>

div-bargali commented 3 years ago

can I add stacks, queues, linked list implementations? @psymbio Sure go ahead. Make sure they aren't already implemented and maintain a proper directory.

Ashish7129 commented 3 years ago

Hi @div-bargali ,

Can I add searching algorithms like linear or binary ??

RahulRS246 commented 3 years ago

i would like to add queue using linked list in java

jleahwolff commented 3 years ago

Could I add Merge Sort for Python?

aditimaurya commented 3 years ago

I'd like to add sorting algorithm on python ( shell sort, bubble sort, selection sort, insertion sort, merge sort) I'll check before adding them if they are already present or not. Kindly assign me this 🙂

prajnapuranik commented 3 years ago

Hey, can I add Bubblesort algorithm implementation in Java?

NirmalKumarJoshi commented 3 years ago

Hey @div-bargali I want to add Binary and Linear Search in C++. Can I proceed?

div-bargali commented 3 years ago

@NirmalKumarJoshi Sure.

div-bargali commented 3 years ago

Please create new issues for different languages. 😃

vaishnavirshah commented 3 years ago

Hi @div-bargali I want to add BST implementation in C++. Can i proceed?

div-bargali commented 3 years ago

@vaishnavirshah Sure 👍 , create a new issue and reference the issue in your PR.

nirajmalpani commented 3 years ago

I would like to add stack implementation in python

iamvs-2002 commented 3 years ago

I would like to add more data structure implementations like Linked Lists, Queues, Heaps and Trees in C

div-bargali commented 3 years ago

@nirajmalpani @iamvs-2002 Create a new issue please. And reference that issue in your PR.

nirajmalpani commented 3 years ago

done @div-bargali

nirajmalpani commented 3 years ago

Can I contribute more like on some sorting algorithms in python?

div-bargali commented 3 years ago

@NirmalKumarJoshi Sure, create a new issue, make sure the algoritms aren't already implemented.

kokilgupta commented 3 years ago

Can I add selection sort and fractional knapsack?

RamneekKaur983 commented 3 years ago

I want to add KMP Pattern Searching Algorithm in Java

SusnatoPrime007 commented 3 years ago

I want to do stack using Java

Anjalikamath commented 3 years ago

Hi @div-bargali Can I add :

  1. Heapsort Implementation using C++
  2. Binary Search on rotated array in C++
  3. 3sum implementation in C++
  4. Construct Binary Tree from inorder and preorder traversal in C++
  5. Subset sum problem using DP
div-bargali commented 3 years ago

@Anjalikamath Sure. Open a new issue. If you will be making separate PRs make separate issues to track them.

Anjalikamath commented 3 years ago

@div-bargali Heapsort in C++ is already implemented. Can I instead add : Morris Traversal Inorder and Preorder ?