algorithms.sorting module

This module contains implementations of sorting algorithms.

algorithms.sorting.bubble_sort(arr: List[Any]) List[Any][source]

Sorts a list of integers using the Bubble Sort algorithm.

Parameters:

arr – The list of items to be sorted.

Returns:

The sorted list of items.

Return type:

List[Any]