Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qw #11493

Commits on Oct 27, 2023

  1. Add automatic differentiation algorithm (TheAlgorithms#10977)

    * Added automatic differentiation algorithm
    
    * file name changed
    
    * Resolved pre commit errors
    
    * updated dependency
    
    * added noqa for ignoring check
    
    * adding typing_extension for adding Self type in __new__
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * sorted requirement.text dependency
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * resolved ruff
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    PoojanSmart and pre-commit-ci[bot] committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    5987f86 View commit details
    Browse the repository at this point in the history
  2. Added doctest to hash_table.py (TheAlgorithms#11023)

    * Added doctest to hash_table.py
    
    * Update hash_table.py
    
    * Update hash_table.py
    
    * Update hash_table.py
    
    * Update hash_table.py
    
    * Apply suggestions from code review
    
    * Update hash_table.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Suyashd999 and cclauss committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    34eb9c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4eda14 View commit details
    Browse the repository at this point in the history
  4. Added doctest to double_hash.py (TheAlgorithms#11020)

    * Added doctest to double_hash.py
    
    * Update double_hash.py
    Suyashd999 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f336cca View commit details
    Browse the repository at this point in the history
  5. Create monotonic_array.py (TheAlgorithms#11025)

    * Create monotonic_array.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update monotonic_array.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Khushi-Shukla and pre-commit-ci[bot] committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    185a355 View commit details
    Browse the repository at this point in the history
  6. Increase code coverage for dijkstra algorithm (TheAlgorithms#10695)

    * Increase code coverage for dijkstra algorithm
    
    * Add missing code coverage
    
    Refactor to pass mypy
    
    * Fix missing code coverage
    
    * Remove code changes, keep doctest
    
    * Remove ALL of the code changes
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update dijkstra_algorithm.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    b0837d3 View commit details
    Browse the repository at this point in the history
  7. Tests for odd_even_transposition_parallel (TheAlgorithms#10926)

    * [ADD] tests for odd_even_transposition_parallel
    
    * adding another test because build failed 6 hrs
    
    * comment out all tests to see if it fails
    
    * list(range(10)[::-1]) test uncommented
    
    * [a, x, c] test uncommented
    
    * [1.9, 42.0, 2.8] test uncommented
    
    * [False, True, False] test uncommented
    
    * [1, 32.0, 9] test uncommented
    
    * [1, 32.0, 9] test uncommented
    
    * [-442, -98, -554, 266, -491, 985, -53, -529, 82, -429] test uncommented
    
    * test non global lock
    
    * [DEL] Testing multiple data types. Couldn't get doctest to work
    
    * [ADD] Comment on why non global process lock
    RaymondDashWu committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    0eb1825 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5df16f1 View commit details
    Browse the repository at this point in the history
  9. Added Gradient Boosting Classifier (TheAlgorithms#10944)

    * Added Gradient Boosting Classifier
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gradient_boosting_classifier.py
    
    * Update gradient_boosting_classifier.py
    
    * Update gradient_boosting_classifier.py
    
    * Update gradient_boosting_classifier.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>
    SannketNikam and pre-commit-ci[bot] committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    a0e80a7 View commit details
    Browse the repository at this point in the history
  10. Excess 3 code (TheAlgorithms#11001)

    * added excess-3 code
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * updated with fixes
    
    * updated with fixes
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update excess_3_code.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    1e1ee00 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. Add FuzzySet Class for Triangular Fuzzy Sets (TheAlgorithms#11036)

    * Added Opertation for triangular fuzzy sets
    
    * Added Sources
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix the bug , for which test were failing
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Add type hints and improve parameter names
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Add Test For fuzzy_operations.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix the bug in fuzzy_operations.py
    
    * Add test_fuzzy_logic.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix the bug in fuzzy_operations.py & deleted test
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fixed the typo error
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Again done
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * corrected wrong intendation due to which test fail
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * bug fixed
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Add test_fuzzy_logic
    
    * Modified fuzzy_operations.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fixed the bug, made a FuzzySet dataclass
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Replaced assertEqual of unittest to assert python
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * lets see
    
    * Changed test
    
    * orderd the import statements
    
    * Add docstring and dataclass the FuzzySet
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update fuzzy_operations.py
    
    * Delete fuzzy_logic/test_fuzzy_logic.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * https://en.wikipedia.org/wiki/Fuzzy_set
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    f243631 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b51b833 View commit details
    Browse the repository at this point in the history
  3. Create crossword_puzzle_solver.py (TheAlgorithms#11011)

    * Create crossword_puzzle_solver.py
    
    * Update crossword_puzzle_solver.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update crossword_puzzle_solver.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update crossword_puzzle_solver.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update crossword_puzzle_solver.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update crossword_puzzle_solver.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update crossword_puzzle_solver.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update crossword_puzzle_solver.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update crossword_puzzle_solver.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update crossword_puzzle_solver.py
    
    * Update backtracking/crossword_puzzle_solver.py
    
    * Update crossword_puzzle_solver.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update crossword_puzzle_solver.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update crossword_puzzle_solver.py
    
    * Apply suggestions from code review
    
    * Update crossword_puzzle_solver.py
    
    * Update crossword_puzzle_solver.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    d80ee90 View commit details
    Browse the repository at this point in the history
  4. Added adams-bashforth method of order 2, 3, 4, 5 (TheAlgorithms#10969)

    * added runge kutta gills method
    
    * added adams-bashforth method of order 2, 3, 4, 5
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update adams_bashforth.py
    
    * Deleted extraneous file, maths/numerical_analysis/runge_kutta_gills.py
    
    * Added doctests to each function adams_bashforth.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update adams_bashforth.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    444dfb0 View commit details
    Browse the repository at this point in the history
  5. Create ipv4_conversion.py (TheAlgorithms#11008)

    * Create ipconversion.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update conversions/ipconversion.py
    
    * Update ipconversion.py
    
    * Rename ipconversion.py to ipv4_conversion.py
    
    * forward_propagation(32, 450_000)  # Was 10_000_000
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    aa5c97d View commit details
    Browse the repository at this point in the history
  6. Add bitap_string_match algo (TheAlgorithms#11060)

    * Add bitap_string_match algo
    
    * Fix types
    
    * Fix spelling and add ignore word
    
    * Add suggested changes and change return type
    
    * Resolve suggestions
    edy252 committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    e3eb9da View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. Create multiplexer.py (TheAlgorithms#11064)

    * Create multiplexer.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Doctests should show how the algorithm fails
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    5019561 View commit details
    Browse the repository at this point in the history
  2. Add more doctest to intro_sort.py TheAlgorithms#9943 (TheAlgorithms#1…

    …1068)
    
    * added laplacian_filter file
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * updated laplacian.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * updated laplacian_py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * updated laplacian_filter.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * updated laplacian_filter.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * updated laplacian_filter.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * required changes to laplacian file
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * changed laplacian_filter.py
    
    * changed laplacian_filter.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * changed laplacian_filter.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * changed laplacian_filter.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * updated laplacian_filter.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * update laplacian_filter.py
    
    * update laplacian_filter.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * update laplacian_filter.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * changed laplacian_filter.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * changed laplacian_filter.py
    
    * changed laplacian_filter.py
    
    * changed laplacian_filter.py
    
    * add matrix_multiplication.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * update matrix_multiplication
    
    * update matrix_multiplication
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * make changes
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * update
    
    * update
    
    * updates
    
    * resolve conflict
    
    * add doctest
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * make changes
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * update laplacian.py
    
    * add doctests
    
    * more doctest added
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * try to resolve ruff error
    
    * try to reslve ruff error
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * update doctest
    
    * attemp - resolve ruff error
    
    * resolve build error
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * resolve build issue
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * update build
    
    * doctest update
    
    * update doctest
    
    * update doctest
    
    * update doctest
    
    * fix ruff error
    
    * file location changed
    
    * Delete digital_image_processing/filters/laplacian_filter.py
    
    * Create laplacian_filter.py
    
    * Update matrix_multiplication_recursion.py
    
    * Update matrix_multiplication_recursion.py
    
    * Update matrix_multiplication_recursion.py
    
    * Update matrix_multiplication_recursion.py
    
    * Update matrix_multiplication_recursion.py
    
    * Add doctest to median_of_3
    
    * add doctest to median_of_3 function
    
    * Update intro_sort.py
    
    * Update sorts/intro_sort.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    bad39cd View commit details
    Browse the repository at this point in the history
  3. Update instagram_pic.py (TheAlgorithms#10957)

    * Update instagram_pic.py
    
    * Update instagram_pic.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update instagram_pic.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update instagram_pic.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update instagram_pic.py
    
    * Update instagram_pic.py
    
    * Update instagram_pic.py
    
    * Update instagram_pic.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update instagram_pic.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update instagram_pic.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update instagram_pic.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fast fail instead of nested ifs and PEP8: Keep try/except blocks small
    
    * Update instagram_pic.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    adb13a1 View commit details
    Browse the repository at this point in the history
  4. Create find_previous_power_of_two.py (TheAlgorithms#11004)

    * Create find_previous_power_of_two.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update find_previous_power_of_two.py
    
    This change avoids the unnecessary left shift operation
    
    * Update find_previous_power_of_two.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    8217f9b View commit details
    Browse the repository at this point in the history
  5. Add Integer Square Root Algorithm (TheAlgorithms#10949)

    * Add Integer Square Root Algorithm
    
    * Update integer_square_root.py
    
    * Update integer_square_root.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    aqib-m31 and cclauss committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    403d3b8 View commit details
    Browse the repository at this point in the history
  6. Generate parentheses (TheAlgorithms#10903)

    * Add: Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Matrix Prefix Sum
    
    * Add: Distinct Subsequences
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Distinct Subsequences
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Changes made in Distinct Subsequences
    
    * Changes made in Distinct Subsequences
    
    * Changes made in Distinct Subsequences
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Removed Distinct Subsequences
    
    * Add: Generate Parentheses
    
    * Add: Generate Parentheses
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Add: Generate Parentheses
    
    * Add: Generate Parentheses
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Add: Generate Parentheses
    
    * Add: Generate Parentheses
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update backtracking/generate_parentheses.py
    
    * Delete matrix/matrix_prefix_sum.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    cc22d0b View commit details
    Browse the repository at this point in the history
  7. XOR Cipher: doctests and bug fixes (TheAlgorithms#10840)

    * Fixed bug with key modulus wrapping. Should be wrapping on 256, not 255.
    
    * Fixed bug with incorrect assertion type in decrypt function.
    
    * Added doctests for 4 out of 6 methods
    FarzadHayat committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    7c1dfec View commit details
    Browse the repository at this point in the history
  8. Added doctests for fibonacci.py (TheAlgorithms#10836)

    * added other possible cases
    
    * added test for correct output of truth table
    
    * few fibonacci tests added
    
    * updating DIRECTORY.md
    
    * Update nor_gate.py
    
    * updating DIRECTORY.md
    
    * Update fibonacci.py
    
    removed whitespace
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: = <=>
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    4 people committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    6b588e4 View commit details
    Browse the repository at this point in the history
  9. Add running key cipher (TheAlgorithms#10834)

    * Add running key cipher
    
    * update running key cipher add doctests and hints
    
    * Add test case
    
    * Update return value
    
    * range(len()) is almost always a hint to use enumerate()
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    ArshdeepSingh98 and cclauss committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    d59cf17 View commit details
    Browse the repository at this point in the history
  10. add a yield method to fibonaci (TheAlgorithms#10826)

    * add a yiled method to fibonaci
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fibonaci
    
    * Update fibonacci.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update fibonacci.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    3ad90ce View commit details
    Browse the repository at this point in the history
  11. Added doctest to hash_map.py (TheAlgorithms#11082)

    * Added doctest to heap.py
    
    * Added doctest to hash_map.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update hash_map.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    67c85ee View commit details
    Browse the repository at this point in the history
  12. Add Josephus Problem (TheAlgorithms#10928)

    * Add Josephus Problem
    
    * Add iterative implementation of Josephus Problem
    
    * Add descriptive variable names
    
    * Update maths/josephus_problem.py
    
    * Update josephus_problem.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    aqib-m31 and cclauss committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    be60f42 View commit details
    Browse the repository at this point in the history
  13. Dahhou ilyas (TheAlgorithms#10058)

    * add new programme in dynamique programming wildcard_matching
    
    * add new programme in dynamique programming wildcard_matching
    
    * fix bug
    
    * fix
    
    * fix
    
    * fix
    
    * fix
    
    * fix
    
    * fix error recrusion
    
    * fix error recrusion
    
    * bug fix
    
    * add doctest
    
    * The power of enumerate()
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    dahhou-ilyas and cclauss committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    eafdb8b View commit details
    Browse the repository at this point in the history
  14. Added Fast Inverse Square Root (TheAlgorithms#11054)

    * Feat: Added Fast inverse square root
    
    * Fix: Added typehint
    
    * Fix: Added doctests that break the code, changed var name
    
    * updating DIRECTORY.md
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix: fixed length of docstring
    
    * Update fast_inverse_sqrt.py
    
    ---------
    
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    4 people committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    760d9be View commit details
    Browse the repository at this point in the history
  15. Create karnaugh_map_simplification.py (TheAlgorithms#11056)

    * Create karnaugh_map_simplification.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update karnaugh_map_simplification.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update karnaugh_map_simplification.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update karnaugh_map_simplification.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update karnaugh_map_simplification.py
    
    * Update boolean_algebra/karnaugh_map_simplification.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update karnaugh_map_simplification.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update karnaugh_map_simplification.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update karnaugh_map_simplification.py
    
    * Update karnaugh_map_simplification.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    c7a1331 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    13e66c1 View commit details
    Browse the repository at this point in the history
  17. test: adding more tests to missing number algorithm (TheAlgorithms#10394

    )
    
    * test: adding more tests to missing number algorithm
    
    * Update missing_number.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    kibolho and cclauss committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    2531f8e View commit details
    Browse the repository at this point in the history
  18. serialize deserialize binary tree (TheAlgorithms#9625)

    * added serialize and desrialize bin tree
    
    * format files
    
    * added type hints
    
    * added type hints
    
    * Use dataclass .__eq__(), .__iter__(), and .__repr__()
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    AVAniketh0905 and cclauss committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    c38b222 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. implementation of Gaussian Elimination pivoting as a numerical linear…

    … algebra algorithm (TheAlgorithms#10457)
    
    * Adding new implementation
    
    Adding my python implementation of Gaussian Elimination pivoting as a numerical linear algebra algorithm
    
    * Delete linear_algebra/src/GaussianEliminationpivoting.py
    
    * Adding new implementation
    
    Adding my python implementation of Gaussian Elimination pivoting as a numerical linear algebra algorithm
    
    * Delete linear_algebra/src/gaussianeliminationpivoting.py
    
    * Adding new implementation
    
    Adding my python implementation of Gaussian Elimination pivoting as a numerical linear algebra algorithm 
    for the third time because the last two times had conflict with the rules in PR
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Delete linear_algebra/src/gaussianeliminationpivoting.py
    
    * Adding gaussianeliminationpivoting.py
    
    Adding my python implementation of Gaussian Elimination pivoting as a numerical linear algebra algorithm 
    for the fourth time because the last three times had conflict with the rules in PR and bots
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussianeliminationpivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussianeliminationpivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussianeliminationpivoting.py
    
    I changed a to matrix and coeff_matrix for better clarity
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussianeliminationpivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussianeliminationpivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussianeliminationpivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update and rename gaussianeliminationpivoting.py to gaussian_elimination_pivoting.py
    
    renamed the file
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * Delete linear_algebra/src/gaussian_elimination_pivoting.py
    
    * Add files via upload
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Delete linear_algebra/src/gaussian_elimination_pivoting/text.py
    
    * Add files via upload
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update linear_algebra/src/gaussian_elimination_pivoting/gaussian_elimination_pivoting.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.py
    
    * Update gaussian_elimination_pivoting.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: Christian Clauss <[email protected]>
    3 people committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    ad9948d View commit details
    Browse the repository at this point in the history
  2. Happy number (new algorithm) (TheAlgorithms#10864)

    * Happy number (new algorithm)
    
    adding new algorithm
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update maths/special_numbers/happy_number.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update happy_number.py
    
    added new changes
    
    * Update happy_number.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update happy_number.py
    
    * Update happy_number.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update happy_number.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update happy_number.py
    
    added ValueError part in code
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update happy_number.py
    
    modified and added raise Error code
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update happy_number.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    ddd4023 View commit details
    Browse the repository at this point in the history
  3. [pre-commit.ci] pre-commit autoupdate (TheAlgorithms#11106)

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.1.1 → v0.1.3](astral-sh/ruff-pre-commit@v0.1.1...v0.1.3)
    - [github.com/psf/black: 23.10.0 → 23.10.1](psf/black@23.10.0...23.10.1)
    - [github.com/tox-dev/pyproject-fmt: 1.2.0 → 1.3.0](tox-dev/pyproject-fmt@1.2.0...1.3.0)
    
    * updating DIRECTORY.md
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    pre-commit-ci[bot] and github-actions committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    79a327f View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    b072ba6 View commit details
    Browse the repository at this point in the history
  2. adding-docstrings (TheAlgorithms#11114)

    * adding-docstrings
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update intro_sort.py
    
    * Update intro_sort.py
    
    * Remove blank lines
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    99f3a0e View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. Added doctest to hash_map.py (TheAlgorithms#11105)

    * Added doctest to heap.py
    
    * Added doctest to hash_map.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update hash_map.py
    
    * Added doctest to hash_map.py
    
    * Added doctest to hash_map.py
    
    * Added doctest to detecting_english_programmatically.py
    
    * Update detecting_english_programmatically.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    ebfdb12 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. Added doctest to decision_tree.py (TheAlgorithms#11143)

    * Added doctest to decision_tree.py
    
    * Update decision_tree.py
    
    * Update machine_learning/decision_tree.py
    
    * Update machine_learning/decision_tree.py
    
    * raise ValueError()
    
    * Update decision_tree.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Suyashd999 and cclauss committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    257cfbd View commit details
    Browse the repository at this point in the history
  2. Added doctest to binary_search_tree.py (TheAlgorithms#11141)

    * Added doctest to binary_search_tree.py
    
    * Update binary_search_tree.py
    
    * Update binary_search_tree.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Suyashd999 and cclauss committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    1e50cf3 View commit details
    Browse the repository at this point in the history
  3. Create get_ip_geolocation.py (TheAlgorithms#10902)

    * Create get_ip_geolocation.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update get_ip_geolocation.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update get_ip_geolocation.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>
    nababuddin and pre-commit-ci[bot] committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    e48ea7d View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Data structures/arrays/triplet sum (TheAlgorithms#11134)

    * updated code for find triplets with 0 sum
    
    Signed-off-by: Skyad <[email protected]>
    
    * extra line added at the end of file
    
    Signed-off-by: Sunny Kumar <[email protected]>
    
    * extra line added at the end of file
    
    Signed-off-by: Skyad <[email protected]>
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * file updated with comments
    
    Signed-off-by: Skyad <[email protected]>
    
    * updated the comments as suggested by community
    
    Signed-off-by: Sunny Kumar <[email protected]>
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * file updated according to community comments
    
    Signed-off-by: Skyad <[email protected]>
    
    * Update find_triplets_with_0_sum.py
    
    ---------
    
    Signed-off-by: Skyad <[email protected]>
    Signed-off-by: Sunny Kumar <[email protected]>
    Co-authored-by: Sunny Kumar <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    4 people committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    eb989c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa508d7 View commit details
    Browse the repository at this point in the history
  3. Added doctest to string_switch_case.py (TheAlgorithms#11136)

    * Added doctest to string_switch_case.py
    
    * Update string_switch_case.py
    Suyashd999 committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    12e4016 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.4](astral-sh/ruff-pre-commit@v0.1.3...v0.1.4)
    - [github.com/tox-dev/pyproject-fmt: 1.3.0 → 1.4.1](tox-dev/pyproject-fmt@1.3.0...1.4.1)
    
    * updating DIRECTORY.md
    
    * [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: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    pre-commit-ci[bot] and github-actions committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    a13e9c2 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2023

  1. Configuration menu
    Copy the full SHA
    8b73526 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb17eea View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Added doctest to heap.py (TheAlgorithms#11129)

    * Added doctest to heap.py
    
    * Update heap.py
    Suyashd999 committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    0e2e6ab View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Fix ignore venv in build_directory_md.py (TheAlgorithms#11156)

    Co-authored-by: MICHAEL CASTLE <[email protected]>
    FishyGitHubUser and MICHAEL CASTLE committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    5f61af4 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. adding a geometry module (TheAlgorithms#11138)

    * adding a geometry module
    
    * fixing errors and adding type hints
    
    * Create code_review_feedback.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * implementing suggestions
    
    * fixing ruff errors
    
    * Update geometry/code_review_feedback.py
    
    * Update geometry/code_review_feedback.py
    
    * Update geometry/geometry.py
    
    * Apply suggestions from code review
    
    * Delete geometry/code_review_feedback.py
    
    * Update geometry/geometry.py
    
    * Update geometry/geometry.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    3999abf View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2023

  1. Configuration menu
    Copy the full SHA
    b8e7a4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5898b96 View commit details
    Browse the repository at this point in the history
  3. add graphs/ant_colony_optimization_algorithms.py (TheAlgorithms#11163)

    * add ant_colonyant_colony_optimization_algorithms.py
    
    * Modify details
    
    * Modify type annotation
    
    * Add tests for KeyError, IndexError, StopIteration, etc.
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    4151a13 View commit details
    Browse the repository at this point in the history
  4. Bug fix combinations (TheAlgorithms#11158)

    * Update all_combinations.py
    
    The original implementation had limitations in handling edge cases and certain input parameters, leading to potential RecursionError.
    
    * Update all_combinations.py
    
    Added checks to handle cases where n or k are negative or where k is greater than n. In such scenarios, the function now returns an empty list, avoiding invalid recursive calls.
    
    * Update error handling
    
    Added checks to handle cases where `n` or `k` are negative or where `k` is greater than `n`. In such scenarios, the function now returns an empty list, avoiding invalid recursive calls.
    
    * Update backtracking/all_combinations.py
    
    * Update all_combinations.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    moaldeen and cclauss committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    050b2a6 View commit details
    Browse the repository at this point in the history
  5. [pre-commit.ci] pre-commit autoupdate (TheAlgorithms#11154)

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.1.4 → v0.1.6](astral-sh/ruff-pre-commit@v0.1.4...v0.1.6)
    - [github.com/psf/black: 23.10.1 → 23.11.0](psf/black@23.10.1...23.11.0)
    - [github.com/tox-dev/pyproject-fmt: 1.4.1 → 1.5.1](tox-dev/pyproject-fmt@1.4.1...1.5.1)
    - [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.0](pre-commit/mirrors-mypy@v1.6.1...v1.7.0)
    
    * updating DIRECTORY.md
    
    * Update spiral_print.py
    
    * Update matrix/spiral_print.py
    
    * Update matrix/spiral_print.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    8b39a0f View commit details
    Browse the repository at this point in the history
  6. Create Spearman's rank correlation coefficient (TheAlgorithms#11155)

    * Create spearman_rank_correlation_coefficient.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fixed Issues
    
    * Added More Description
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fixed Issues
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Tried Fixing Issues
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Tried Fixing Issues
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fixed Issues
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fixed Issues
    
    * Apply suggestions from code review
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update maths/spearman_rank_correlation_coefficient.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    86ae30d View commit details
    Browse the repository at this point in the history
  7. Added doctest to binary_search_tree.py (TheAlgorithms#11145)

    * Added doctest to binary_search_tree.py
    
    * Apply suggestions from code review
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Suyashd999 and cclauss committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    84a1533 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2023

  1. Update levenshtein_distance.py (TheAlgorithms#11171)

    * Update levenshtein_distance.py
    
    * Update levenshtein_distance.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update levenshtein_distance.py
    
    * Update levenshtein_distance.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update levenshtein_distance.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update levenshtein_distance.py
    
    * Update levenshtein_distance.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: Christian Clauss <[email protected]>
    3 people committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    154e5e8 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Configuration menu
    Copy the full SHA
    b860003 View commit details
    Browse the repository at this point in the history
  2. [pre-commit.ci] pre-commit autoupdate (TheAlgorithms#11184)

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/pre-commit/mirrors-mypy: v1.7.0 → v1.7.1](pre-commit/mirrors-mypy@v1.7.0...v1.7.1)
    
    * updating DIRECTORY.md
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    pre-commit-ci[bot] and github-actions committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    0ac97f3 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Create smallestRange.py (TheAlgorithms#11179)

    * Create smallestRange.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update smallestRange.py
    
    * Update smallestRange.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update smallestRange.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update and rename smallestRange.py to smallestrange.py
    
    * Update smallestrange.py
    
    * Update smallestrange.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update smallestrange.py
    
    * Rename smallestrange.py to smallest_range.py
    
    * Update smallest_range.py
    
    * Update smallest_range.py
    
    * Update smallest_range.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    82e539d View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/tox-dev/pyproject-fmt: 1.5.1 → 1.5.3](tox-dev/pyproject-fmt@1.5.1...1.5.3)
    
    * updating DIRECTORY.md
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    pre-commit-ci[bot] and github-actions committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    a73f37b View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.1.7](astral-sh/ruff-pre-commit@v0.1.6...v0.1.7)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    c14a580 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.1.7 → v0.1.8](astral-sh/ruff-pre-commit@v0.1.7...v0.1.8)
    - [github.com/psf/black: 23.11.0 → 23.12.0](psf/black@23.11.0...23.12.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    2d0ed13 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Corrected the Python Doctest command in equilibrium_index_in_array.py…

    … script (TheAlgorithms#11212)
    
    Co-authored-by: Indrajeet Mishra <[email protected]>
    thecoddiwompler and Indrajeet Mishra committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    b46fc1d View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. optimize quicksort implementation (TheAlgorithms#11196)

    * optimize quicksort implementation
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Apply suggestions from code review
    
    * Update quick_sort.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Tianyi Zheng <[email protected]>
    3 people committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    7b9f82c View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2023

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.1.8 → v0.1.9](astral-sh/ruff-pre-commit@v0.1.8...v0.1.9)
    - [github.com/psf/black: 23.12.0 → 23.12.1](psf/black@23.12.0...23.12.1)
    - [github.com/pre-commit/mirrors-mypy: v1.7.1 → v1.8.0](pre-commit/mirrors-mypy@v1.7.1...v1.8.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Dec 25, 2023
    Configuration menu
    Copy the full SHA
    94c8e1a View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. File moved to neural_network/activation_functions (TheAlgorithms#11216)

    * added GELU activation functions file
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_error_linear_unit.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update gaussian_error_linear_unit.py
    
    * Delete neural_network/activation_functions/gaussian_error_linear_unit.py
    
    * Rename maths/gaussian_error_linear_unit.py to neural_network/activation_functions/gaussian_error_linear_unit.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    ParamThakkar123 and pre-commit-ci[bot] committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    51c5c87 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.1.11](astral-sh/ruff-pre-commit@v0.1.9...v0.1.11)
    
    * updating DIRECTORY.md
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
    pre-commit-ci[bot] and github-actions committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    9caf478 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. fix: consider months and days in years_old (TheAlgorithms#11234)

    * fix: do not consider months in `calculate_age`
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update get_top_billionaires.py
    
    * Update get_top_billionaires.py
    
    * Update get_top_billionaires.py
    
    * TODAY = datetime.utcnow()
    
    * Update get_top_billionaires.py
    
    * Update build.yml
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    227944e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a56f24e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ffb93ad View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. style: use proper indentation in ruff.yml (TheAlgorithms#11237)

    * style: use proper indentation in `ruff.yml`
    
    * chore: run `prettier` on `yml` files
    
    * Update .pre-commit-config.yaml
    
    * Update .pre-commit-config.yaml
    
    * Update .pre-commit-config.yaml
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update .pre-commit-config.yaml
    
    * chore: run prettier on workflow files
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    13559ae View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.1.13](astral-sh/ruff-pre-commit@v0.1.11...v0.1.13)
    - [github.com/tox-dev/pyproject-fmt: 1.5.3 → 1.6.0](tox-dev/pyproject-fmt@1.5.3...1.6.0)
    - [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.1.0...v4.0.0-alpha.8)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    dd47651 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Use compiled black as the pre-commit formatter (TheAlgorithms#11247)

    * Use compiled black as the pre-commit formatter
    
    * ruff-format
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Keep GitHub Actions up to date with Dependabot
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    4b6f688 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0101dd4 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Added doctest to skew_heap.py (TheAlgorithms#11147)

    * Added doctest to skew_heap.py
    
    * Update skew_heap.py
    
    * Update data_structures/heap/skew_heap.py
    
    Co-authored-by: Saptadeep Banerjee  <[email protected]>
    
    * Update skew_heap.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update skew_heap.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: Saptadeep Banerjee <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    05a5cda View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3952ba7 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.1.13 → v0.1.14](astral-sh/ruff-pre-commit@v0.1.13...v0.1.14)
    - [github.com/tox-dev/pyproject-fmt: 1.6.0 → 1.7.0](tox-dev/pyproject-fmt@1.6.0...1.7.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    b01571d View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Configuration menu
    Copy the full SHA
    b092d77 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

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

    updates:
    - [github.com/abravalheri/validate-pyproject: v0.15 → v0.16](abravalheri/validate-pyproject@v0.15...v0.16)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    c0e700c View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Configuration menu
    Copy the full SHA
    c1d29ba View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Rename .github/.github/dependabot.yml to .github/dependabot.yml (TheA…

    …lgorithms#11264)
    
    * Rename .github/.github/dependabot.yml to .github/dependabot.yml
    
    * runs-on: macos-14  # ubuntu-latest
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update build.yml
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    cclauss and pre-commit-ci[bot] committed Feb 1, 2024
    1 Configuration menu
    Copy the full SHA
    8995f45 View commit details
    Browse the repository at this point in the history
  2. Bump actions/cache from 3 to 4 (TheAlgorithms#11265)

    Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Feb 1, 2024
    1 Configuration menu
    Copy the full SHA
    6a16974 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Fixed lines that needed to be uncommented after Hacktoberfest (TheAlg…

    …orithms#11267)
    
    * uncommented lines
    
    * uncommented lines
    
    * Update CODEOWNERS
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    tonguegrease and cclauss committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    4128f19 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.14...v0.2.0)
    
    * Upgrade pyproject.toml
    
    * Revert sudoku_solver.py RUF017 Avoid quadratic list summation
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    pre-commit-ci[bot] and cclauss committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    ed8d920 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.2.1](astral-sh/ruff-pre-commit@v0.2.0...v0.2.1)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    5d6846b View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.2.1 → v0.2.2](astral-sh/ruff-pre-commit@v0.2.1...v0.2.2)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    c6ca194 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Reenable files when TensorFlow supports the current Python (TheAlgori…

    …thms#11318)
    
    * Remove python_version < '3.12' for tensorflow
    
    * Reenable dynamic_programming/k_means_clustering_tensorflow.py
    
    * updating DIRECTORY.md
    
    * Try to fix ruff
    
    * Try to fix ruff
    
    * Try to fix ruff
    
    * Try to fix ruff
    
    * Try to fix ruff
    
    * Reenable machine_learning/lstm/lstm_prediction.py
    
    * updating DIRECTORY.md
    
    * Try to fix ruff
    
    * Reenable computer_vision/cnn_classification.py
    
    * updating DIRECTORY.md
    
    * Reenable neural_network/input_data.py
    
    * updating DIRECTORY.md
    
    * Try to fix ruff
    
    * Try to fix ruff
    
    * Try to fix mypy
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Try to fix ruff
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: MaximSmolskiy <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    fd27953 View commit details
    Browse the repository at this point in the history
  2. fix: function name typo (TheAlgorithms#11319)

    * fix: function name typo
    
    Signed-off-by: guoguangwu <[email protected]>
    
    * lfu_cache.py: Use f-strings
    
    * rsa_cipher.py: Use f-strings
    
    ---------
    
    Signed-off-by: guoguangwu <[email protected]>
    Co-authored-by: Christian Clauss <[email protected]>
    testwill and cclauss committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    5f95d6f View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](astral-sh/ruff-pre-commit@v0.2.2...v0.3.2)
    - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](pre-commit/mirrors-mypy@v1.8.0...v1.9.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] committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    bc8df6d View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.3.2 → v0.3.3](astral-sh/ruff-pre-commit@v0.3.2...v0.3.3)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    435309a View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. adding a proper fractions algorithm (TheAlgorithms#11224)

    * adding a proper fractions algorithm
    
    * Implementing suggestions in maths/numerical_analysis/proper_fractions.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Implementing suggestions to proper_fractions.py
    
    * Fixing ruff errors in proper_fractions.py
    
    * Apply suggestions from code review
    
    * ruff check --output-format=github .
    
    * Update maths/numerical_analysis/proper_fractions.py
    
    * Update proper_fractions.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people committed Mar 20, 2024
    1 Configuration menu
    Copy the full SHA
    8faf823 View commit details
    Browse the repository at this point in the history
  2. Enable ruff ARG001 rule (TheAlgorithms#11321)

    * Enable ruff ARG001 rule
    
    * Fix dynamic_programming/combination_sum_iv.py
    
    * Fix machine_learning/frequent_pattern_growth.py
    
    * Fix other/davis_putnam_logemann_loveland.py
    
    * Fix other/password.py
    
    * Fix
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix physics/n_body_simulation.py
    
    * Fix project_euler/problem_145/sol1.py
    
    * Fix project_euler/problem_174/sol1.py
    
    * Fix scheduling/highest_response_ratio_next.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix
    
    * Fix
    
    * Fix scheduling/job_sequencing_with_deadline.py
    
    * Fix scheduling/job_sequencing_with_deadline.py
    
    * Fix
    
    * Fix
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    MaximSmolskiy and pre-commit-ci[bot] committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    a936e94 View commit details
    Browse the repository at this point in the history
  3. add vicsek to fractals (TheAlgorithms#11306)

    Co-authored-by: BastosLaG <[email protected]>
    PAxitoo and BastosLaG committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    481c071 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Enable ruff DTZ001 rule (TheAlgorithms#11326)

    * updating DIRECTORY.md
    
    * Enable ruff DTZ001 rule
    
    * Fix other/gauss_easter.py
    
    * Fix
    
    * Fix
    
    * Fix
    
    * Fix
    
    * Fix
    
    * Fix
    
    ---------
    
    Co-authored-by: MaximSmolskiy <[email protected]>
    MaximSmolskiy and MaximSmolskiy committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    102e9a3 View commit details
    Browse the repository at this point in the history
  2. [pre-commit.ci] pre-commit autoupdate (TheAlgorithms#11328)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.3.3 → v0.3.4](astral-sh/ruff-pre-commit@v0.3.3...v0.3.4)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    ead5431 View commit details
    Browse the repository at this point in the history
  3. Enable ruff DTZ005 rule (TheAlgorithms#11327)

    * Enable ruff DTZ005 rule
    
    * Fix other/gauss_easter.py
    
    * Fix
    
    * Fix web_programming/instagram_pic.py
    
    * Fix web_programming/instagram_video.py
    
    * Apply suggestions from code review
    
    * Update instagram_pic.py
    
    * datetime.now(tz=UTC).astimezone()
    
    * .astimezone()
    
    * Fix
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    MaximSmolskiy and cclauss committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    b5cb1fb View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Configuration menu
    Copy the full SHA
    19fd435 View commit details
    Browse the repository at this point in the history
  2. Enable ruff PLR5501 rule (TheAlgorithms#11332)

    * Enable ruff PLR5501 rule
    
    * [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>
    MaximSmolskiy and pre-commit-ci[bot] committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    516a302 View commit details
    Browse the repository at this point in the history
  3. Enable ruff N999 rule (TheAlgorithms#11331)

    * Enable ruff N999 rule
    
    * updating DIRECTORY.md
    
    ---------
    
    Co-authored-by: MaximSmolskiy <[email protected]>
    MaximSmolskiy and MaximSmolskiy committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    da47d5c View commit details
    Browse the repository at this point in the history
  4. Enable ruff PLW0120 rule (TheAlgorithms#11330)

    Co-authored-by: Christian Clauss <[email protected]>
    MaximSmolskiy and cclauss committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    efb7463 View commit details
    Browse the repository at this point in the history
  5. Enable ruff ICN001 rule (TheAlgorithms#11329)

    * Enable ruff ICN001 rule
    
    * [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>
    MaximSmolskiy and pre-commit-ci[bot] committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    f2246ce View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.3.5](astral-sh/ruff-pre-commit@v0.3.4...v0.3.5)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    c328b00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39daaf8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f8a9489 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Enable ruff SIM102 rule (TheAlgorithms#11341)

    * Enable ruff SIM102 rule
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix
    
    * [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>
    MaximSmolskiy and pre-commit-ci[bot] committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    93fb555 View commit details
    Browse the repository at this point in the history
  2. Enable ruff S105 rule (TheAlgorithms#11343)

    * Enable ruff S105 rule
    
    * Update web_programming/recaptcha_verification.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    MaximSmolskiy and cclauss committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    f8cdb3e View commit details
    Browse the repository at this point in the history
  3. Enable ruff INP001 rule (TheAlgorithms#11346)

    * Enable ruff INP001 rule
    
    * Fix
    
    * Fix
    
    * Fix
    
    * Fix
    
    * Fix
    MaximSmolskiy committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    f437f92 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f5bbea3 View commit details
    Browse the repository at this point in the history
  5. Enable ruff PGH003 rule (TheAlgorithms#11345)

    * Enable ruff PGH003 rule
    
    * Fix
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    MaximSmolskiy and pre-commit-ci[bot] committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    53b2926 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Do not fix ruff EXE001 rule (TheAlgorithms#11350)

    * Do not fix ruff EXE001 rule
    
    * Fix
    MaximSmolskiy committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    cc2f5b1 View commit details
    Browse the repository at this point in the history
  2. Added documentations (TheAlgorithms#11352)

    * Added documentations
    
    * Update data_structures/queue/circular_queue.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Jiayoqin and cclauss committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    9e55c9d View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

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

    updates:
    - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    14ca726 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

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

    updates:
    - [github.com/MarcoGorelli/auto-walrus: v0.2.2 → 0.3.3](MarcoGorelli/auto-walrus@v0.2.2...0.3.3)
    - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.3.7](astral-sh/ruff-pre-commit@v0.3.5...v0.3.7)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    0a9a860 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Enable ruff E741 rule (TheAlgorithms#11370)

    * Enable ruff E741 rule
    
    * [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>
    MaximSmolskiy and pre-commit-ci[bot] committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    a42eb35 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2024

  1. Add doctests in all functions in basic_string.py (TheAlgorithms#11374)

    * Add doctests in all functions in basic_string.py
    
    * Revert back to original basic_string.py
    
    * Add doctest in basic_string.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update genetic_algorithm/basic_string.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    4259348 View commit details
    Browse the repository at this point in the history
  2. Enable ruff RUF007 rule (TheAlgorithms#11349)

    * Enable ruff RUF005 rule
    
    * Enable ruff RUF007 rule
    
    * Fix
    
    * Fix
    
    * Fix
    
    * Update sorts/bead_sort.py
    
    Co-authored-by: Christian Clauss <[email protected]>
    
    * Update sorts/bead_sort.py
    
    * Revert "Update sorts/bead_sort.py"
    
    This reverts commit b10e563.
    
    * Revert "Update sorts/bead_sort.py"
    
    This reverts commit 2c1816b.
    
    * Update sorts/bead_sort.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    MaximSmolskiy and cclauss committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    7b88e15 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2024

  1. Enable ruff S113 rule (TheAlgorithms#11375)

    * Enable ruff S113 rule
    
    * [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>
    MaximSmolskiy and pre-commit-ci[bot] committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    2702bf9 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.1](astral-sh/ruff-pre-commit@v0.3.7...v0.4.1)
    - [github.com/tox-dev/pyproject-fmt: 1.7.0 → 1.8.0](tox-dev/pyproject-fmt@1.7.0...1.8.0)
    
    * from keras import layers, models
    
    * Update lstm_prediction.py
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    pre-commit-ci[bot] and cclauss committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    dbfa218 View commit details
    Browse the repository at this point in the history
  2. Enable ruff RUF001 rule (TheAlgorithms#11378)

    * Enable ruff RUF001 rule
    
    * Fix
    
    * Fix
    MaximSmolskiy committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    79dc7c9 View commit details
    Browse the repository at this point in the history
  3. Enable ruff RUF002 rule (TheAlgorithms#11377)

    * Enable ruff RUF002 rule
    
    * Fix
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    MaximSmolskiy and cclauss committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    4700297 View commit details
    Browse the repository at this point in the history
  4. Enable ruff RUF003 rule (TheAlgorithms#11376)

    * Enable ruff RUF003 rule
    
    * Update pyproject.toml
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    MaximSmolskiy and cclauss committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    d016fda View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    3925b81 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    2d6be5f View commit details
    Browse the repository at this point in the history
  2. [pre-commit.ci] pre-commit autoupdate (TheAlgorithms#11387)

    updates:
    - [github.com/MarcoGorelli/auto-walrus: 0.3.3 → 0.3.4](MarcoGorelli/auto-walrus@0.3.3...0.3.4)
    - [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2](astral-sh/ruff-pre-commit@v0.4.1...v0.4.2)
    - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](pre-commit/mirrors-mypy@v1.9.0...v1.10.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    a7e0b14 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. adding a matrix equalization algorithm (TheAlgorithms#11360)

    * adding a matrix equalization algorithm
    
    * Adding url for more details
    
    * Implementing suggestions
    meg-1 committed May 1, 2024
    Configuration menu
    Copy the full SHA
    c026b19 View commit details
    Browse the repository at this point in the history
  2. Fix some ARG002 per file ignores (TheAlgorithms#11382)

    * Fix some ARG002 per file ignores
    
    * Fix
    
    * updating DIRECTORY.md
    
    * Fix review issue
    
    * Fix review issue
    
    ---------
    
    Co-authored-by: MaximSmolskiy <[email protected]>
    MaximSmolskiy and MaximSmolskiy committed May 1, 2024
    Configuration menu
    Copy the full SHA
    5131e31 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Use spawn start method in multiprocessing programs (TheAlgorithms#1…

    …1391)
    
    * Use `spawn` start method in multiprocessing programs
    
    * Set `spawn` start method in doctest
    
    * Use `with` statement for locks
    
    * Pass multiprocessing context explicitly
    XuehaiPan committed May 2, 2024
    Configuration menu
    Copy the full SHA
    ea53051 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3](astral-sh/ruff-pre-commit@v0.4.2...v0.4.3)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed May 6, 2024
    Configuration menu
    Copy the full SHA
    1868c0b View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Fix some SIM114 per file ignores (TheAlgorithms#11395)

    * updating DIRECTORY.md
    
    * Fix some SIM114 per file ignores
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix review issue
    
    ---------
    
    Co-authored-by: MaximSmolskiy <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people committed May 10, 2024
    Configuration menu
    Copy the full SHA
    c599f6c View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](astral-sh/ruff-pre-commit@v0.4.3...v0.4.4)
    - [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.0.4](tox-dev/pyproject-fmt@1.8.0...2.0.4)
    - [github.com/abravalheri/validate-pyproject: v0.16 → v0.17](abravalheri/validate-pyproject@v0.16...v0.17)
    
    * [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] committed May 14, 2024
    Configuration menu
    Copy the full SHA
    1f368da View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/tox-dev/pyproject-fmt: 2.0.4 → 2.1.1](tox-dev/pyproject-fmt@2.0.4...2.1.1)
    - [github.com/abravalheri/validate-pyproject: v0.17 → v0.18](abravalheri/validate-pyproject@v0.17...v0.18)
    
    * [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] committed May 20, 2024
    Configuration menu
    Copy the full SHA
    0139143 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.5](astral-sh/ruff-pre-commit@v0.4.4...v0.4.5)
    - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0)
    - [github.com/tox-dev/pyproject-fmt: 2.1.1 → 2.1.3](tox-dev/pyproject-fmt@2.1.1...2.1.3)
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * iterable
    
    * at most
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    pre-commit-ci[bot] and cclauss committed May 28, 2024
    Configuration menu
    Copy the full SHA
    82aa909 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    b8afb21 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. add doctest/document to actual_power and document to power (TheAlgori…

    …thms#11187)
    
    * Update power.py
    
    * Update divide_and_conquer/power.py
    
    ---------
    
    Co-authored-by: Tianyi Zheng <[email protected]>
    pedram-mohajer and tianyizheng02 committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    70bd06d View commit details
    Browse the repository at this point in the history
  2. Remove duplicate implementation of median of two arrays algorithm (Th…

    …eAlgorithms#11420)
    
    * Remove duplicate implementation of median of two arrays algorithm
    
    Remove maths/median_of_two_arrays.py because the repo has two
    implementations of this algorithm, with
    data_structures/arrays/median_two_array.py being the other. Even though
    maths/median_of_two_arrays.py is the older implementation, the newer
    implementation is better documented, has better error handling, and is
    already located in a more appropriate directory.
    
    * updating DIRECTORY.md
    
    ---------
    
    Co-authored-by: tianyizheng02 <[email protected]>
    tianyizheng02 and tianyizheng02 committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    723cf9c View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2024

  1. use format to remove '0b' (TheAlgorithms#11307)

    * use format to remove '0b'
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * fix: error message for float input
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    groupsvkg and pre-commit-ci[bot] committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    edee8e6 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. issue TheAlgorithms#11150 Ensure explicit column selection and data t…

    …ype setting in data reading process. (TheAlgorithms#11302)
    
    * issue TheAlgorithms#11150 Ensure explicit column selection and data type setting in data reading process.
    
    * [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>
    MannCode and pre-commit-ci[bot] committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    2f1704d View commit details
    Browse the repository at this point in the history
  2. Fixes TheAlgorithms#9943 (TheAlgorithms#10252)

    * added doctest for all_permutations.py
    
    * added doctest for all_subsequences.py
    
    * added doctest for all_subsequences.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * doctest added
    
    * updated
    
    * Update backtracking/all_subsequences.py
    
    ---------
    
    Co-authored-by: Harsh Buddhdev <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Tianyi Zheng <[email protected]>
    4 people committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    ffaa976 View commit details
    Browse the repository at this point in the history
  3. Add KL divergence loss algorithm (TheAlgorithms#11238)

    * Add KL divergence loss algorithm
    
    * Apply suggestions from code review
    
    ---------
    
    Co-authored-by: Tianyi Zheng <[email protected]>
    AtomicVar and tianyizheng02 committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    c919579 View commit details
    Browse the repository at this point in the history
  4. [pre-commit.ci] pre-commit autoupdate (TheAlgorithms#11430)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.5 → v0.4.7](astral-sh/ruff-pre-commit@v0.4.5...v0.4.7)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    5827aac View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Add rainfall intensity calculation function (TheAlgorithms#11432)

    * Add rainfall intensity calculation function
    
    * chore: improve fuction and coefficient documentation
    
    * Update physics/rainfall_intensity.py
    
    ---------
    
    Co-authored-by: Tianyi Zheng <[email protected]>
    yuriishizawa and tianyizheng02 committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    41a1cdf View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    4467423 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. Remove some per file ignores (TheAlgorithms#11381)

    * Remove some per file ignores
    
    * updating DIRECTORY.md
    
    * updating DIRECTORY.md
    
    ---------
    
    Co-authored-by: MaximSmolskiy <[email protected]>
    MaximSmolskiy and MaximSmolskiy committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    af6a45e View commit details
    Browse the repository at this point in the history
  2. Fix/fixes get top billionaries code (TheAlgorithms#11466)

    * fix: modify the depracated code and add new tests
    
    * fix: remove test from pr
    
    * fix: remove the useless utc import
    
    * fix: add explicit tz argument
    
    * fix: fixes ruff checking
    
    * Remove UP017 #noqa comments from code
    
    * Update get_top_billionaires.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update get_top_billionaires.py
    
    ---------
    
    Co-authored-by: Christian Clauss <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    df94d46 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.4.8](astral-sh/ruff-pre-commit@v0.4.7...v0.4.8)
    
    * 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 <[email protected]>
    pre-commit-ci[bot] and cclauss committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    31d1cd8 View commit details
    Browse the repository at this point in the history
  2. chore: fix typos (TheAlgorithms#11467)

    * chore: fix typos
    
    Signed-off-by: snoppy <[email protected]>
    
    * Apply suggestions from code review
    
    Co-authored-by: Tianyi Zheng <[email protected]>
    
    ---------
    
    Signed-off-by: snoppy <[email protected]>
    Co-authored-by: Christian Clauss <[email protected]>
    Co-authored-by: Tianyi Zheng <[email protected]>
    3 people committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    1cfca52 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

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

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.9 → v0.4.10](astral-sh/ruff-pre-commit@v0.4.9...v0.4.10)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    75b8667 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Tests/add new test case weight_conversion (TheAlgorithms#11468)

    * add new test
    
    * add new test
    ShiryuReb committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    6882a8b View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.0](astral-sh/ruff-pre-commit@v0.4.10...v0.5.0)
    - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](pre-commit/mirrors-mypy@v1.10.0...v1.10.1)
    
    * Fix ruff issues
    
    * Fix ruff issues
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Christian Clauss <[email protected]>
    pre-commit-ci[bot] and cclauss committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    716bdeb View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Create count_vowels.py (TheAlgorithms#11474)

    * Create count_vowels.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>
    its-100rabh and pre-commit-ci[bot] committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    c1dc8e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

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

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.1](astral-sh/ruff-pre-commit@v0.5.0...v0.5.1)
    - [github.com/tox-dev/pyproject-fmt: 2.1.3 → 2.1.4](tox-dev/pyproject-fmt@2.1.3...2.1.4)
    
    * updating DIRECTORY.md
    
    * grid = np.char.chararray((n, n))
    
    ---------
    
    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>
    Co-authored-by: Christian Clauss <[email protected]>
    3 people committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    9190888 View commit details
    Browse the repository at this point in the history