Skip to content

Commit 49e476b

Browse files
authored
Update quicksort.py
Added the required header, which I originally forgot to include!
1 parent a7c77fa commit 49e476b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

allalgorithms/sorting/quicksort.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# -*- coding: UTF-8 -*-
2+
#
3+
# Quick Sort Algorithm
4+
# The All ▲lgorithms library for python
5+
#
6+
# Contributed by: Brian D. Hopper
7+
# Github: @bubbabeans
8+
#
19
def partition(xs, start, end):
210
follower = leader = start
311
while leader < end:

0 commit comments

Comments
 (0)