Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ Bubble_sort.py
File
Bubble_sort.py
Sorting Algorithms/Bubble_sort.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
def
bubble_sort(Lists):
2
for
i in range(len(Lists)):
3
for
j in range(len(Lists) - 1):
4
# We check whether the adjecent number is greater or not
Callers
nothing calls this directly
Calls
2
bubble_sort
Function · 0.70
append
Method · 0.45
Tested by
no test coverage detected