lprimeroo / DSA

Implementations of various data structures and algorithms.
MIT License
106 stars 179 forks source link

Python version of data structures/algorithms #1

Closed lprimeroo closed 5 years ago

lprimeroo commented 8 years ago

Rewrite more or already mentioned algorithms in Python 3 .

yatingupta10 commented 8 years ago

You want whole repo to be converted to Python 3 or you want only some of these to be rewritten in Python 3?

lprimeroo commented 8 years ago

I want the whole repo actually . But I'll accept even 1 algo or DS . :)

yatingupta10 commented 8 years ago

Okay, am on it!

yatingupta10 commented 8 years ago

should I replace cpp files and add py files? or just add py files?

lprimeroo commented 8 years ago

Create a new folder called Python . Add inside that and add a redirection link to the main readme .

yatingupta10 commented 8 years ago

I will be adding more Python 3 files in a week or two Stay tuned!

lprimeroo commented 8 years ago

👍

iamajay commented 8 years ago

I also wanted to help in writing some algo in python.

lprimeroo commented 8 years ago

Go ahead everyone .

iskein commented 8 years ago

going to work on fast modulo multiplication Added Fmm function and updated README #9

DeepanshuKapoor commented 8 years ago

going to work for dijkstra's algo

DeepanshuKapoor commented 8 years ago

dijkstra's code pull request sent #7

Lakshya1605 commented 8 years ago

going to working on DFS Added DFS function and UpdateReadme #13

Lakshya1605 commented 8 years ago

going to work on DFSS Added DFSS function and Updated Readme #15

zoidyzoidzoid commented 8 years ago

Could we maybe break this up into issues or a checklist?

How much does Python styling matter?

DeepanshuKapoor commented 8 years ago

added quicksort in cpp and python and updated readme #18

n1zzo commented 8 years ago

I'm working on Pollard-Rho integer factorization

sbshah97 commented 8 years ago

Is it a good idea to make different folders, one where only C++ code is there and the other where only Python code is there?

lprimeroo commented 8 years ago

Unless there are more than 3 languages , I don't think that's a good idea .

shivanXI commented 8 years ago

added heapsort in cpp and python and updated readme also #34

shivanXI commented 8 years ago

added convexhull in cpp with updated readme #36

lprimeroo commented 8 years ago

Thanks : )

DeepanshuKapoor commented 8 years ago

added longest increasing subseqnce for cpp #37

alainakafkes commented 8 years ago

Any algos/data structures that still need to be implemented in Python?

lprimeroo commented 8 years ago

Look for them in the README file. Algos without [python] are yet to be implemented .

alainakafkes commented 8 years ago

I'll add a new one soon -- merge sort.

shivanXI commented 8 years ago

Added C++ implementation of Closest Pair of Points and updated the readme #39 . Please review my changes @saru95

shivanXI commented 8 years ago

Added revised implementation of my previous PR and new PR is #40

vrush03 commented 8 years ago

Added RadixSort, Knapsack 0-1 problem and Nqueens problem..Updated ReadMe.

lprimeroo commented 8 years ago

@vrush03 Thanks :)

NikhilGogate13 commented 8 years ago

Working on minimum spanning tree(Kruskal algorithm using disjoint set union) in cpp.

jainayush975 commented 8 years ago

Working on Prim's algorithm in cpp

shivanXI commented 8 years ago

Added C++ implementation of Radix Sort and updated Readme also #64 #63

lprimeroo commented 8 years ago

If anyone wants to file an issue for Java version of codes, feel free to add the tag - "hacktoberfest" and file it !

TuhinKundu commented 8 years ago

Working on python version of closest pair of points problem. @saru95 , I also noticed the repo lacks basics data structures such as stacks, queues and dequeues. Do these need to be worked on? I can work on both cpp and python.....

lprimeroo commented 8 years ago

@TuhinKundu Go ahead !

iamajay commented 8 years ago

Working on Kruskal's algorithm in python

iamajay commented 8 years ago

working on prim's algorithm in cpp and python both

HackersSpirit commented 8 years ago

@saru95: Can i also contribute :smile:

nipungarg59 commented 8 years ago

Added Miller Rabin Primility Test both c++ and python version. My PR #79

jainayush975 commented 8 years ago

working on Insertion sort python

aditya81070 commented 7 years ago

I am new to open source. I also want to add algo in python. From where I can start?

lprimeroo commented 7 years ago

@aditya81070 Just write code for a missing algorithm, place it in the directory of the particular language and edit the README.md file accordingly. Then, you can send a PR.