Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f8236af

Browse files
Added Heap Sort.
1 parent be77f76 commit f8236af

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

‎Sorting Algorithms/README.md‎

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ The code contains 8 different sorting algorithms. The Names and the line number
44

55
The code also contains a utility function for finding time required to sort the array by each algorithm.
66

7-
| Algorithm Name | Line Number |
8-
|----------------|:-------------:|
9-
| Selection Sort | [Line 4](https://github.com/shreyasvedpathak/Data-Structure-Python/blob/af0479bce737f33c715495bb8a3acb371f7b2ffc/Sorting%20Algorithms/sortingAlgo.py#L4) |
10-
| Insertion Sort | [Line 23](https://github.com/shreyasvedpathak/Data-Structure-Python/blob/af0479bce737f33c715495bb8a3acb371f7b2ffc/Sorting%20Algorithms/sortingAlgo.py#L23) |
11-
| Bubble Sort | [Line 44](https://github.com/shreyasvedpathak/Data-Structure-Python/blob/af0479bce737f33c715495bb8a3acb371f7b2ffc/Sorting%20Algorithms/sortingAlgo.py#L44) |
12-
| Shell Sort | [Line 61](https://github.com/shreyasvedpathak/Data-Structure-Python/blob/af0479bce737f33c715495bb8a3acb371f7b2ffc/Sorting%20Algorithms/sortingAlgo.py#L61) |
13-
| Merge Sort | [Line 86](https://github.com/shreyasvedpathak/Data-Structure-Python/blob/af0479bce737f33c715495bb8a3acb371f7b2ffc/Sorting%20Algorithms/sortingAlgo.py#L86) |
14-
| Quick Sort | [Line 141](https://github.com/shreyasvedpathak/Data-Structure-Python/blob/af0479bce737f33c715495bb8a3acb371f7b2ffc/Sorting%20Algorithms/sortingAlgo.py#L141) |
15-
| Count Sort | [Line 177](https://github.com/shreyasvedpathak/Data-Structure-Python/blob/af0479bce737f33c715495bb8a3acb371f7b2ffc/Sorting%20Algorithms/sortingAlgo.py#L177) |
16-
| Radix Sort | [Line 195](https://github.com/shreyasvedpathak/Data-Structure-Python/blob/af0479bce737f33c715495bb8a3acb371f7b2ffc/Sorting%20Algorithms/sortingAlgo.py#L195) |
7+
| Algorithm Name | Line Number |
8+
|------------------|:-------------:|
9+
| Selection Sort | 5 |
10+
| Insertion Sort | 25 |
11+
| Bubble Sort | 47 |
12+
| Shell Sort | 65 |
13+
| Merge Sort | 91 |
14+
| Quick Sort | 152 |
15+
| Count Sort | 193 |
16+
| Radix Sort | 220 |
17+
| Heap Sort | 250 |

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /