Source code for algorithms.sorting

"""
This module contains implementations of sorting algorithms.
"""
from typing import List, Any


# TODO
[docs] def bubble_sort(arr: List[Any]) -> List[Any]: """ Sorts a list of integers using the Bubble Sort algorithm. :param arr: The list of items to be sorted. :return: The sorted list of items. :rtype: List[Any] """ pass