Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zhangchao162/TheAlgorithmsPython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: TheAlgorithms/Python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 12 files changed
  • 8 contributors

Commits on Oct 19, 2025

  1. Add doctest for circular queue overflow condition (TheAlgorithms#13590)

    * Add doctest for circular queue overflow condition
    
    Added a doctest to test the QUEUE IS FULL exception when attempting to enqueue an element into a full circular queue. This improves test coverage for line 67 in data_structures/queues/circular_queue.py.
    
    Fixes TheAlgorithms#9943
    
    * Update circular_queue.py
    
    * Update circular_queue.py
    
    * Update circular_queue.py
    
    * Update circular_queue.py
    
    ---------
    
    Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
    Tejasrahane and MaximSmolskiy authored Oct 19, 2025
    Configuration menu
    Copy the full SHA
    3b08413 View commit details
    Browse the repository at this point in the history
  2. feat: optimizing the prune function at the apriori_algorithm.py archi…

    …ve (TheAlgorithms#12992)
    
    * feat: optimizing the prune function at the apriori_algorithm.py archive
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fix: fixing the unsorted importing statment
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fix: fixing the key structure to a tuple that can be an hashable structure
    
    * Update apriori_algorithm.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update apriori_algorithm.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
    3 people authored Oct 19, 2025
    Configuration menu
    Copy the full SHA
    154cd3e View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2025

  1. Add doctest for add_vertex in GraphAdjacencyList. Contributes to TheA…

    …lgorithms#9943 (TheAlgorithms#13143)
    
    * Add doctest for add_vertex in GraphAdjacencyList. Contributes to TheAlgorithms#9943
    
    * Update graph_adjacency_list.py
    
    ---------
    
    Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
    michaelmccamy and MaximSmolskiy authored Oct 20, 2025
    Configuration menu
    Copy the full SHA
    1b0bd16 View commit details
    Browse the repository at this point in the history
  2. Add test for non-integer input to factorial function (TheAlgorithms#1…

    …3024)
    
    * Add test for non-integer input to factorial function
    
    * Update test_factorial.py
    
    ---------
    
    Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
    mahiuddin-dev and MaximSmolskiy authored Oct 20, 2025
    Configuration menu
    Copy the full SHA
    e2a78d4 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2025

  1. [pre-commit.ci] pre-commit autoupdate (TheAlgorithms#13860)

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.3](astral-sh/ruff-pre-commit@v0.13.3...v0.14.3)
    - [github.com/tox-dev/pyproject-fmt: v2.7.0 → v2.11.0](tox-dev/pyproject-fmt@v2.7.0...v2.11.0)
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Nov 3, 2025
    Configuration menu
    Copy the full SHA
    af17867 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2025

  1. Bump actions/checkout from 5 to 6 (TheAlgorithms#13937)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v5...v6)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-version: '6'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 22, 2025
    Configuration menu
    Copy the full SHA
    a051ab5 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2025

  1. [pre-commit.ci] pre-commit autoupdate (TheAlgorithms#13979)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.14.3 → v0.14.7](astral-sh/ruff-pre-commit@v0.14.3...v0.14.7)
    - [github.com/tox-dev/pyproject-fmt: v2.11.0 → v2.11.1](tox-dev/pyproject-fmt@v2.11.0...v2.11.1)
    - [github.com/pre-commit/mirrors-mypy: v1.18.2 → v1.19.0](pre-commit/mirrors-mypy@v1.18.2...v1.19.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Dec 1, 2025
    Configuration menu
    Copy the full SHA
    8934bab View commit details
    Browse the repository at this point in the history
Loading