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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy