allalgorithms-python icon indicating copy to clipboard operation
allalgorithms-python copied to clipboard

heap sorting added

Open sohailg opened this issue 6 years ago • 1 comments

sohailg avatar Oct 09 '18 14:10 sohailg

Hi, @sohailg thanks for contributing to The All ▲lgorithms project, the huge collection of algorithms implemented in different languages.

Before merging the pull request you will need to review the contributing guide because there are changes must be done.

├── allalgorithms
│   │── sorting
|   |    │── bubble_sort.py
|   |    └── merge_sort.py
│   └── searches
|        │── binary_search.py
|        └── linear_search.py
├── docs
│   │── sorting
|   |    │── bubble-sort.md
|   |    └── merge-sort.md
│   └── searches
|        │── binary-search.md
|        └── linear-search.md
└── tests
    │── test_searches.py
    └── test_sorting.py

The above style is required so you may need to add the algorithm along the tests and documentation

Also, the algorithm is implemented in a folder called python-lib-master which make any sense, and the function name heapSort(arr) doesn't follow the cammel_case style. Make sure to fix!!

abranhe avatar Oct 10 '18 16:10 abranhe