MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / insertion_sort

Function insertion_sort

example_code/item_092.py:51–55  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

49
50print("Example 1")
51def insertion_sort(data):
52 result = []
53 for value in data:
54 insert_value(result, value)
55 return result
56
57
58print("Example 2")

Callers 1

item_092.pyFile · 0.85

Calls 1

insert_valueFunction · 0.85

Tested by

no test coverage detected