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
  • 08:24 (UTC -08: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 November 21, 2024 20:55
This will be my first Gist experimenting with Python.
print 'hello world'