-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: faefabsdgd/Python
base: master
head repository: TheAlgorithms/Python
compare: master
- 19 commits
- 46 files changed
- 14 contributors
Commits on May 21, 2025
-
Add median() function using Quickselect (TheAlgorithms#12676)
* Add median() function using Quickselect * Update quick_select.py * Update quick_select.py * Update quick_select.py --------- Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
Configuration menu - View commit details
-
Copy full SHA for 26ad689 - Browse repository at this point
Copy the full SHA 26ad689View commit details
Commits on May 22, 2025
-
Add bidirectional search algorithm implementation (TheAlgorithms#12649)
* Add bidirectional search algorithm implementation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix style and linting issues in bidirectional search * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add doctest for main function * Add doctest for main function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fixed deprications * fixed deprications * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * removed unused import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update bidirectional_search.py * Update bidirectional_search.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update bidirectional_search.py * [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> Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
Configuration menu - View commit details
-
Copy full SHA for ca445f5 - Browse repository at this point
Copy the full SHA ca445f5View commit details -
Improve hash map (TheAlgorithms#12678)
* Mutable _Item * document falsy item * resize_down: expected test result * resize_down: actual result This is a problem since it causes rapid cycling * improve comment about falsy item Co-authored-by: Andrey <Cjkjvfnby@gmail.com> * fix long line * Update hash_map.py * Update hash_map.py --------- Co-authored-by: Andrey <Cjkjvfnby@gmail.com> Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
Configuration menu - View commit details
-
Copy full SHA for c81cc26 - Browse repository at this point
Copy the full SHA c81cc26View commit details -
Add tests and cleanup sum_of_subsets algorithm (TheAlgorithms#12746)
* Add tests and cleanup sum_of_subsets algorithm. * Update sum_of_subsets.py * Update sum_of_subsets.py * Update sum_of_subsets.py * Update sum_of_subsets.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e1115b5 - Browse repository at this point
Copy the full SHA e1115b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8ad2db - Browse repository at this point
Copy the full SHA a8ad2dbView commit details
Commits on May 26, 2025
-
[pre-commit.ci] pre-commit autoupdate (TheAlgorithms#12760)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.9 → v0.11.11](astral-sh/ruff-pre-commit@v0.11.9...v0.11.11) - [github.com/tox-dev/pyproject-fmt: v2.5.1 → v2.6.0](tox-dev/pyproject-fmt@v2.5.1...v2.6.0) * updating DIRECTORY.md --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e26c388 - Browse repository at this point
Copy the full SHA e26c388View commit details
Commits on May 29, 2025
-
maths/radix2_fft.py: Fix calculation for Python 3.14 (TheAlgorithms#1…
…2772) * maths/radix2_fft.py: Fix calculation for Python 3.14 As suggested at: * TheAlgorithms#12729 (comment) * TheAlgorithms#12710 (comment) @MaximSmolskiy @KirilBangachev @skirpichev Careful review, please. I am just implementing the suggestion, but I do not have any expertise in this area. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Change test results * GitHub Actions: Rename job from build to directory_writer It is confusing to have two jobs named `build`. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d0d7f0b - Browse repository at this point
Copy the full SHA d0d7f0bView commit details
Commits on May 31, 2025
-
feat: create straight_line_depreciation (TheAlgorithms#12377)
Co-authored-by: Jeonghyun Min <20122791@tafe.wa.edu.au>
Configuration menu - View commit details
-
Copy full SHA for 4b077c0 - Browse repository at this point
Copy the full SHA 4b077c0View commit details
Commits on Jun 2, 2025
-
Add doctests for the boyer_moore_search algorithm. (TheAlgorithms#12769)
* Add doctests for the boyer_moore_search algorithm. * Update boyer_moore_search.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update boyer_moore_search.py * Update boyer_moore_search.py --------- Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c3d4b9e - Browse repository at this point
Copy the full SHA c3d4b9eView commit details
Commits on Jul 5, 2025
-
Add unit tests for factorial.py (TheAlgorithms#12815)
* Add unit tests for factorial.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * uvx --python=3.12 unittest2pytest --write test_factorial.py * Update error message in current_stock_price.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
Configuration menu - View commit details
-
Copy full SHA for 7665ba5 - Browse repository at this point
Copy the full SHA 7665ba5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd3c3c3 - Browse repository at this point
Copy the full SHA cd3c3c3View commit details
Commits on Jul 7, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 5c05335 - Browse repository at this point
Copy the full SHA 5c05335View commit details
Commits on Jul 9, 2025
-
Fix devcontainer build failure (TheAlgorithms#12837)
* add post-installation script * set zsh as default terminal and make post-install execution on postcreate * rename file * rename script * Create devcontainers_ci.yml * Update devcontainer.json * Update devcontainers_ci.yml Never push image built here. It's for build testing purpose only. * postCreateCommand update to reflect that the shell script has been renamed. * update devcontainer readme file * trigger workflow only on devcontainer/** changes * prettier refactor
Configuration menu - View commit details
-
Copy full SHA for ed7c9b5 - Browse repository at this point
Copy the full SHA ed7c9b5View commit details
Commits on Jul 11, 2025
-
Update .pre-commit-config.yaml to reflect current linting and formatt… (
TheAlgorithms#12841) * Update .pre-commit-config.yaml to reflect current linting and formatting setup - Replaced outdated references to `black` with the actual tools used in the repo: `ruff` and `ruff-format`. - Ensured all configured hooks are up to date and relevant to Python development. - This aligns the linting and formatting setup with the project's actual pre-commit pipeline. - Improves consistency for contributors by preventing confusion between formatting tools. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * We use httpx, not requests * response = httpx.get(request_url, timeout=10).raise_for_status() --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
Configuration menu - View commit details
-
Copy full SHA for 5a4a6a5 - Browse repository at this point
Copy the full SHA 5a4a6a5View commit details -
[pre-commit.ci] pre-commit autoupdate (TheAlgorithms#12781)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.11 → v0.12.2](astral-sh/ruff-pre-commit@v0.11.11...v0.12.2) - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.16.1](pre-commit/mirrors-mypy@v1.15.0...v1.16.1) * Update .pre-commit-config.yaml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
Configuration menu - View commit details
-
Copy full SHA for d1a9486 - Browse repository at this point
Copy the full SHA d1a9486View commit details
Commits on Jul 21, 2025
-
[pre-commit.ci] pre-commit autoupdate (TheAlgorithms#12846)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.3 → v0.12.4](astral-sh/ruff-pre-commit@v0.12.3...v0.12.4) - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.17.0](pre-commit/mirrors-mypy@v1.15.0...v1.17.0) * Apply suggestion from @cclauss --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
Configuration menu - View commit details
-
Copy full SHA for 6e1a104 - Browse repository at this point
Copy the full SHA 6e1a104View commit details
Commits on Jul 29, 2025
-
[pre-commit.ci] pre-commit autoupdate (TheAlgorithms#12864)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.4 → v0.12.5](astral-sh/ruff-pre-commit@v0.12.4...v0.12.5) - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.17.0](pre-commit/mirrors-mypy@v1.15.0...v1.17.0) * Apply suggestion from @cclauss * --ignore=web_programming/current_stock_price.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
Configuration menu - View commit details
-
Copy full SHA for 7a0fee4 - Browse repository at this point
Copy the full SHA 7a0fee4View commit details
Commits on Aug 11, 2025
-
[pre-commit.ci] pre-commit autoupdate (TheAlgorithms#12880)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.12.5 → v0.12.8](astral-sh/ruff-pre-commit@v0.12.5...v0.12.8) - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.17.1](pre-commit/mirrors-mypy@v1.15.0...v1.17.1) * Apply suggestion from @cclauss --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
Configuration menu - View commit details
-
Copy full SHA for d05f5d2 - Browse repository at this point
Copy the full SHA d05f5d2View commit details
Commits on Aug 12, 2025
-
Bump actions/checkout from 4 to 5 (TheAlgorithms#12891)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' 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>
Configuration menu - View commit details
-
Copy full SHA for f662b63 - Browse repository at this point
Copy the full SHA f662b63View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master