Skip to content

Instantly share code, notes, and snippets.

View Anthonymcqueen21's full-sized avatar
🎯
Focusing

Anthony Perez Anthonymcqueen21

🎯
Focusing
  • Hackerone | Bugcrowd | Google Bug Bounty
  • Bakersfield Ca
  • 05:00 (UTC -12:00)
View GitHub Profile
# Selection Sorting
def selection_sort(arr):
for k in range(len(arr):
min_index = k # this is smallest element
for j in range(k+1, len(arr)):
if arr[min_index] > arr[j]:
min_index = j
arr[k], arr[min_index] = arr[min_index], arr[k]
@Anthonymcqueen21
Anthonymcqueen21 / Python programs.
Last active October 5, 2017 20:35
This will be my first Gist experimenting with Python.
print 'hello world'