khanchi97 / Smvdu-Algos

Can learn how to contribute to an open source project and practise Algorithm and Data Structures
Other
13 stars 54 forks source link

Greedy Algorithms #136

Closed abhisheknalla closed 6 years ago

abhisheknalla commented 6 years ago

I have added the following greedy algorithms:

  1. activitySelection.cpp
  2. jobSequencing.cpp
  3. Prim.cpp
  4. huffmanCoding.py
  5. Kruskal.cpp
  6. travellingSalesman.c

Can you review the codes and merge them ?

abhisheknalla commented 6 years ago

I added README files describing the problems and the solutions for each of the algorithms.

abhisheknalla commented 6 years ago

Added input prompts and example test cases in readme files

khanchi97 commented 6 years ago

Great work @abhisheknalla 🎉

khanchi97 commented 6 years ago

@abhisheknalla currently merging now but next time don't make a PR with multiple no. of commits.There should be only one implementation with one PR.

khanchi97 commented 6 years ago

And after this will be merged you can try to make these implementations easier for viewers.In another PR.