Tanmay-901 / Cpp-Algorithms

Algorithms with better Time and Space complexity.
1 stars 3 forks source link

Add an algorithm #1

Open Tanmay-901 opened 3 years ago

Tanmay-901 commented 3 years ago

Instructions

The program should be your own, no plagiarism shall be entertained. Try to add different PRs for different concepts so that reviewing them is easier and quicker. Make sure to name the program according to the concept/algorithm it tends to apply followed by your name. Try to write the Time complexity (and space complexity too if possible) in the description.

Namanmittal0007 commented 3 years ago

@Dude-901 Can i add algorithms as .cpp files?

Tanmay-901 commented 3 years ago

@Namanmittal0007 sure, you can. just please make sure to add comments wherever seems necessary, so that others may understand to code easily.

Pratyushraj2121 commented 3 years ago

Can I do this using C Language?

Tanmay-901 commented 3 years ago

@Pratyushraj2121 Yes you can, I've added the label. Though I'd advise you to make a separate folder for clarity.

Pratyushraj2121 commented 3 years ago

Ya sure!

Tanmay-901 commented 3 years ago

@Pratyushraj2121 I've merged the PR but I recommended to add a separate folder if you wanted to add in c, but since your code is in cpp, I request you to set it out in the home directory because I intend to make directories on the basis of operations and that would make it difficult to manage cpp programs both in the home directory and in the cpp separate folder. You shall add a directory for C programs if required. PS: I'm not doing it myself so that your forked repo is also in the same commit version.

Pratyushraj2121 commented 3 years ago

Okay. I made a different folder for C. Is it fine?

Tanmay-901 commented 3 years ago

Yes a separate directory for C is welcomed, but the c++ programs are required in the home directory for now.

kaustavy2k commented 3 years ago

i would like to contribute to this by adding an a sorting algorithm in C

Sindhu-321 commented 3 years ago

If the issue is open can I give it a try? I would like to add c++ codes