Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sorts/bubble_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ def bubble_sort_iterative(collection: list[Any]) -> list[Any]:

:param collection: some mutable ordered collection with heterogeneous
comparable items inside
:return: the same collection ordered by ascending
:return: the same collection ordered in ascending order


Examples:
>>> bubble_sort_iterative([0, 5, 2, 3, 2])
Expand Down