MIT-Emerging-Talent / 2024-group-02-collaboration-practice

MIT License
0 stars 0 forks source link

first challenge with quick_sort function #18

Closed JumongEric closed 10 months ago

JumongEric commented 10 months ago

QuickSort is a popular and efficient sorting algorithm that follows the divide-and-conquer paradigm. The basic idea behind QuickSort is to select a "pivot" element from the array and partition the other elements into two sub-arrays according to whether they are less than or greater than the pivot. The process is then applied recursively to the sub-arrays.

tvsirius commented 10 months ago

You should not have deleted the check list that was here

I will put it back

tvsirius commented 10 months ago

README Documentation

Python Files

Function Docstring

Function Implementation

Unit Test Suite

tvsirius commented 10 months ago

add README.md add working test_quick_sort when i pull your branch i have to fix it, with

from quick_sort import quick_sort
tvsirius commented 10 months ago

Code is good and working, but it could be made better

You are missing: module and test docstrings type annotaions comments marking zero case and it would be better to add coments on logic use auto formatter (it's easy, just install autoPEP8 and press Shift-Alt-F in VSCode)

tvsirius commented 10 months ago

Good, just fix the other issues