• May 5, 2026 •CodeCatch
0 likes • 7 views
0 likes • 10 views
• Sep 14, 2024 •rgannedo-6205
0 likes • 3 views
https://codecatch.net/post/06c9f5b7-1e00-40dc-b436-b8cccc4b69be
• Dec 18, 2025 •CodeCatch
0 likes • 12 views
def insertion_sort(arr): # Traverse through 1 to len(arr) for i in range(1, len(arr)): key = arr[i] # Move elements of arr[0..i-1], that are greater than key, # to one position ahead of their current position j = i - 1 while j >= 0 and key < arr[j]: arr[j + 1] = arr[j] j -= 1 arr[j + 1] = key # Example usage: arr = [12, 11, 13, 5, 6, 7, 8, 10] insertion_sort(arr) print("Sorted array is:", arr)
• Jan 20, 2021 •Ntindle
print(“Hello World”)
0 likes • 11 views
{"output":{"name":"format_final_json_response","arguments":{"output":{}}}}