Skip to content

Commit 3535372

Browse files
committed
Typo fixes
1 parent 9cf5aef commit 3535372

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygorithm/searching/quickselect.py renamed to pygorithm/searching/quick_select.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Author: DION MISIC
22
# Created On: 11th August 2017
33

4-
def quickselect(array, n):
4+
def search(array, n):
55
''' Recursively defined function for finding nth number in unsorted list '''
66
def select(array, left, right, n):
77
if left == right:
@@ -38,4 +38,4 @@ def time_complexities():
3838
def get_code():
3939
''' Standard code inspection '''
4040
import inspect
41-
return inspect.getsource(quickselect)
41+
return inspect.getsource(search)

0 commit comments

Comments
 (0)