Add sorting algorithms
Contributing Guidelines
- The repository is structured language-wise i.e. algorithms in a certain language go in a specific folder.
- The naming convention to be followed is
algo_name.language_extentioni.e. the overall path should belanguage/algo_name.language_extention - It is your choice to include only the function or the entire program for the algorithm.
- If the folder for your language does not exist, create a new one.
- Don't be afraid to make a PR!
How to make PR
- Fork Repo on Web Page
- Make your changes on your forked repo
- Make Pull Request to master
Hi @kvaluruk ! Is there any specific sorting algorithm that you would like added? Some of the more inefficient ones are easier to understand for beginners, but I think having the more advanced ones is also important. If you want different sorting algorithms, would they ideally be in separate files or the same file?
I can help out with that!
Hi @kvaluruk , I would like to add all basic sorting algorithms for java (bubble , insertion , selection , quicksort , merge sort).
@cgarciahdez There isn't any specific list of sorting algorithms to be added. This is a project for beginners to get started with open-source (and build an algorithm directory in the meanwhile), so any type of algorithms would be welcome. As for sorting algorithms, I'd prefer them to be in the same file, although there isn't any compulsion. Thanks for asking!
Hi @kvaluruk I would like to add search algorithm for java like binary search and linear search.
Hi @kvaluruk I added Java implementation of heap sort and created a PR.
It's better if you can implement different folders like "Sorting_algorithms" and "Data_structures" for each language , it will be easy to contributors also users of this repo :)
@jpdilan Agreed. I've created an issue for the same.