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: yaswanthaddula/Python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: refs/heads/python
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.
  • 6 commits
  • 4 files changed
  • 4 contributors

Commits on Mar 24, 2025

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.11.0 → v0.11.2](astral-sh/ruff-pre-commit@v0.11.0...v0.11.2)
    - [github.com/abravalheri/validate-pyproject: v0.24 → v0.24.1](abravalheri/validate-pyproject@v0.24...v0.24.1)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Mar 24, 2025
    Configuration menu
    Copy the full SHA
    e3773db View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2025

  1. Genetic Algorithm: Fix bug in multi-threading (TheAlgorithms#12644)

    * Fix bug in multi-threading
    
    - Multi-threading (despite being commented out) had a tiny bug: missing target argument (2nd argument).
    - Commented out code was also slightly hard to understand, added (Option 1/2) in comments to clarify where a user may choose between 2 implementations.
    
    * Update basic_string.py
    
    ---------
    
    Co-authored-by: Maxim Smolskiy <[email protected]>
    Dang-Hoang-Tung and MaximSmolskiy authored Mar 29, 2025
    Configuration menu
    Copy the full SHA
    74b540a View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2025

  1. prefix_evaluation: Add alternative recursive implementation (TheAlgor…

    …ithms#12646)
    
    * prefix_evaluation: Add alternative recursive implementation
    
    * improve doc
    
    * better variable name calc->operators
    
    * Update prefix_evaluation.py
    
    * Update prefix_evaluation.py
    
    * Update prefix_evaluation.py
    
    * Update prefix_evaluation.py
    
    ---------
    
    Co-authored-by: Maxim Smolskiy <[email protected]>
    isidroas and MaximSmolskiy authored Mar 31, 2025
    Configuration menu
    Copy the full SHA
    f10a5cb View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2025

  1. doubly linked list: add dataclass and typing (TheAlgorithms#12647)

    * Node is a dataclass
    
    * fix mypy errors
    
    * LinkedList is a dataclass
    
    * fix mypy errors
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    ---------
    
    Co-authored-by: Maxim Smolskiy <[email protected]>
    isidroas and MaximSmolskiy authored Apr 1, 2025
    Configuration menu
    Copy the full SHA
    baab802 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2025

  1. Fix bug for data_structures/linked_list/doubly_linked_list_two.py (Th…

    …eAlgorithms#12651)
    
    * Fix bug for data_structures/linked_list/doubly_linked_list_two.py
    
    * Fix
    
    * Fix
    
    * Fix
    
    * Fix
    
    * Fix
    
    * Fix
    
    * Fix
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    
    * Update doubly_linked_list_two.py
    MaximSmolskiy authored Apr 2, 2025
    Configuration menu
    Copy the full SHA
    0c8cf8e View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2025

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.11.2 → v0.11.4](astral-sh/ruff-pre-commit@v0.11.2...v0.11.4)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Apr 7, 2025
    Configuration menu
    Copy the full SHA
    5afe029 View commit details
    Browse the repository at this point in the history
Loading