Fix a few typos (#13346)
* Fix typo in spheres intersection print statement * Fix typo in CONTRIBUTING.md * Improve comments in comb_sort.py * pyproject.toml: tool.ruff.target-version = "py314" * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix comment formatting in lint.ignore section --------- Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -5,8 +5,7 @@ Dobosiewicz in 1980. It was rediscovered by Stephen Lacey and Richard Box in 19
|
||||
Comb sort improves on bubble sort algorithm.
|
||||
In bubble sort, distance (or gap) between two compared elements is always one.
|
||||
Comb sort improvement is that gap can be much more than 1, in order to prevent slowing
|
||||
down by small values
|
||||
at the end of a list.
|
||||
down by small values at the end of a list.
|
||||
|
||||
More info on: https://en.wikipedia.org/wiki/Comb_sort
|
||||
|
||||
|
||||
Reference in New Issue
Block a user